summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-08-20 19:32:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-08-20 19:32:22 +0200
commite7b6b54de4a0fd70ca950f7f08eea4e2dfad9972 (patch)
treecb1e6742f232cd3fe03628c4629c0fd383eff621
parent017e23b3782f10f62058047cfbd7d9b35c191168 (diff)
add devel package
-rw-r--r--package/giflib/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/giflib/Makefile b/package/giflib/Makefile
index 1259c92f9..2187e05ae 100644
--- a/package/giflib/Makefile
+++ b/package/giflib/Makefile
@@ -12,13 +12,21 @@ PKG_SECTION:= libs
PKG_URL:= http://sourceforge.net/projects/giflib/
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=giflib/giflib%204.x/$(PKG_NAME)-$(PKG_VERSION)/}
+PKG_SUBPKGS:= GIFLIB GIFLIB_DEV
+PKGSC_GIFLIB_DEV:= devel
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,GIFLIB,giflib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,GIFLIB_DEV,giflib-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKGSC_GIFLIB_DEV}))
giflib-install:
$(INSTALL_DIR) $(IDIR_GIFLIB)/usr/lib
$(INSTALL_BIN) $(WRKINST)/usr/lib/libgif.so* \
$(IDIR_GIFLIB)/usr/lib
+giflib-dev-install:
+ ${INSTALL_DIR} ${IDIR_GIFLIB_DEV}/usr/include
+ ${CP} ${WRKINST}/usr/include/*.h ${IDIR_GIFLIB_DEV}/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk