summaryrefslogtreecommitdiff
path: root/package/libnfsidmap
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-02-08 21:45:05 +0100
commitc115a9d1c3c12ce5504a1a5169006c66cafc34e3 (patch)
treef4bef63dd572e3fe54b8d5fdbffcbf2e2e78d7a2 /package/libnfsidmap
parent91fb280c3d35424d56c7f9a3bea23f383dfcb56a (diff)
many bugfixes for native adksystems and some package updates
Diffstat (limited to 'package/libnfsidmap')
-rw-r--r--package/libnfsidmap/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/package/libnfsidmap/Makefile b/package/libnfsidmap/Makefile
index eca543039..71f77b634 100644
--- a/package/libnfsidmap/Makefile
+++ b/package/libnfsidmap/Makefile
@@ -7,20 +7,30 @@ PKG_NAME:= libnfsidmap
PKG_VERSION:= 0.21b1
PKG_RELEASE:= 1
PKG_MD5SUM:= a8a44bd4aa22441fb54735dd65496b72
-PKG_DESCR:= library for NFSv4
+PKG_DESCR:= idmap library for NFSv4
PKG_SECTION:= libs
PKG_URL:= http://www.citi.umich.edu/projects/nfsv4/linux/
PKG_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
+PKG_SUBPKGS:= LIBNFSIDMAP LIBNFSIDMAP_DEV
+PKGSC_LIBNFSIDMAP_DEV:= devel
+PKGSD_LIBNFSIDMAP_DEV:= headers for NFSv4 idmap library
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBNFSIDMAP,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LIBNFSIDMAP_DEV,libnfsidmap-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNFSIDMAP_DEV},${PKGSC_LIBNFSIDMAP_DEV}))
-post-install:
+libnfsidmap-install:
$(INSTALL_DIR) $(IDIR_LIBNFSIDMAP)/usr/lib
$(CP) $(WRKINST)/usr/lib/libnfsidmap.so* \
$(IDIR_LIBNFSIDMAP)/usr/lib/
$(CP) $(WRKINST)/usr/lib/libnfsidmap_static.so* \
$(IDIR_LIBNFSIDMAP)/usr/lib/
+libnfsidmap-dev-install:
+ $(INSTALL_DIR) $(IDIR_LIBNFSIDMAP_DEV)/usr/include
+ $(INSTALL_DATA) ${WRKINST}/usr/include/nfsidmap.h \
+ $(IDIR_LIBNFSIDMAP_DEV)/usr/include
+
include ${TOPDIR}/mk/pkg-bottom.mk