summaryrefslogtreecommitdiff
path: root/package/libgssglue
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-10-21 17:20:24 +0200
commit90d5c8b73e8d538e121275b12e714332ca785cff (patch)
treeb70121e4732d658097d1db00c8af381629ec82eb /package/libgssglue
parent33dd541790614765228a71477e1f8b2b6aa21ce1 (diff)
automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages
Diffstat (limited to 'package/libgssglue')
-rw-r--r--package/libgssglue/Makefile17
1 files changed, 3 insertions, 14 deletions
diff --git a/package/libgssglue/Makefile b/package/libgssglue/Makefile
index 90a2d2421..5e6b8b21a 100644
--- a/package/libgssglue/Makefile
+++ b/package/libgssglue/Makefile
@@ -5,30 +5,19 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= libgssglue
PKG_VERSION:= 0.3
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 48aaad11b7371ba3270faa322202c038
PKG_DESCR:= GSS glue library for NFSv4
PKG_SECTION:= libs
PKG_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/
-
-PKG_SUBPKGS:= LIBGSSGLUE LIBGSSGLUE_DEV
-PKGSD_LIBGSSGLUE_DEV:= GSS glue headers for NFSv4
-PKGSC_LIBGSSGLUE_DEV:= devel
+PKG_OPTS:= dev
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,LIBGSSGLUE,libgssglue,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,LIBGSSGLUE_DEV,libgssglue-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBGSSGLUE_DEV},${PKGSC_LIBGSSGLUE_DEV}))
+$(eval $(call PKG_template,LIBGSSGLUE,libgssglue,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
libgssglue-install:
$(INSTALL_DIR) $(IDIR_LIBGSSGLUE)/usr/lib
$(CP) $(WRKINST)/usr/lib/libgssglue.so* $(IDIR_LIBGSSGLUE)/usr/lib
-libgssglue-dev-install:
- $(INSTALL_DIR) $(IDIR_LIBGSSGLUE_DEV)/usr/include
- ${CP} $(WRKINST)/usr/include/* $(IDIR_LIBGSSGLUE_DEV)/usr/include
- $(INSTALL_DIR) $(IDIR_LIBGSSGLUE_DEV)/usr/lib/pkgconfig
- ${INSTALL_DATA} $(WRKINST)/usr/lib/pkgconfig/libgssglue.pc \
- $(IDIR_LIBGSSGLUE_DEV)/usr/lib/pkgconfig
-
include ${TOPDIR}/mk/pkg-bottom.mk