1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-05 03:55:19 +02:00

libggi: package demo/test programs

This commit is contained in:
David Kühling 2011-01-04 20:58:24 +01:00
parent a862cbed29
commit 415b1dd875

View File

@ -21,16 +21,13 @@ PKG_BUILD_DEPENDS:= libtool/host
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/libggi define Package/libggi/Default
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=General Graphics Interface
URL:=http://www.ggi-project.org/packages/libggi.html URL:=http://www.ggi-project.org/packages/libggi.html
DEPENDS:=+libgii
#+directfb
endef endef
define Package/libggi/description define Package/libggi/Default/description
LibGGI is the central library in the GGI project, hence the name. LibGGI is the central library in the GGI project, hence the name.
It provides an opaque interface to the display\'s acceleration functions. It It provides an opaque interface to the display\'s acceleration functions. It
@ -39,6 +36,31 @@ Kernel Graphics Interface, but other display types can be easily used by
loading the appropriate \"display target\" (e.g. X, memory). loading the appropriate \"display target\" (e.g. X, memory).
endef endef
define Package/libggi
$(call Package/libggi/Default)
TITLE += (library)
DEPENDS:=+libgii
#+directfb
endef
define Package/libggi/description
$(call Package/libggi/Default/description)
This package contains the library files.
endef
define Package/libggi-programs
$(call Package/libggi/Default)
TITLE += (programs)
DEPENDS:=+libggi
#+directfb
endef
define Package/libggi-programs/description
$(call Package/libggi/Default/description)
This package contains the test and example programs for libggi.
endef
TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib TARGET_LDFLAGS += -Wl,-rpath-link -Wl,$(STAGING_DIR)/usr/lib
CONFIGURE_VARS += ac_cv_func_mmap_fixed_mapped=yes CONFIGURE_VARS += ac_cv_func_mmap_fixed_mapped=yes
@ -69,7 +91,7 @@ define Build/InstallDev
$(1)/usr/lib/ $(1)/usr/lib/
endef endef
define Package/libgii/install define Package/libggi/install
$(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ggi $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/ggi $(1)/usr/lib/
@ -77,7 +99,14 @@ define Package/libgii/install
$(CP) $(PKG_INSTALL_DIR)/etc/ggi/* $(1)/etc/ggi/ $(CP) $(PKG_INSTALL_DIR)/etc/ggi/* $(1)/etc/ggi/
endef endef
define Package/libggi-programs/install
$(INSTALL_DIR) $(1)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/
endef
$(eval $(call BuildPackage,libggi)) $(eval $(call BuildPackage,libggi))
$(eval $(call BuildPackage,libggi-programs))
# The following comments configure the Emacs editor. Just ignore them. # The following comments configure the Emacs editor. Just ignore them.