1
0

Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= libnfsidmap
  5. PKG_VERSION:= 0.21b1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a8a44bd4aa22441fb54735dd65496b72
  8. PKG_DESCR:= idmap library for NFSv4
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.citi.umich.edu/projects/nfsv4/linux/
  11. PKG_SITES:= http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/
  12. PKG_SUBPKGS:= LIBNFSIDMAP LIBNFSIDMAP_DEV
  13. PKGSC_LIBNFSIDMAP_DEV:= devel
  14. PKGSD_LIBNFSIDMAP_DEV:= headers for NFSv4 idmap library
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBNFSIDMAP,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBNFSIDMAP_DEV,libnfsidmap-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBNFSIDMAP_DEV},${PKGSC_LIBNFSIDMAP_DEV}))
  18. libnfsidmap-install:
  19. $(INSTALL_DIR) $(IDIR_LIBNFSIDMAP)/usr/lib
  20. $(CP) $(WRKINST)/usr/lib/libnfsidmap.so* \
  21. $(IDIR_LIBNFSIDMAP)/usr/lib/
  22. $(CP) $(WRKINST)/usr/lib/libnfsidmap_static.so* \
  23. $(IDIR_LIBNFSIDMAP)/usr/lib/
  24. libnfsidmap-dev-install:
  25. $(INSTALL_DIR) $(IDIR_LIBNFSIDMAP_DEV)/usr/include
  26. $(INSTALL_DATA) ${WRKINST}/usr/include/nfsidmap.h \
  27. $(IDIR_LIBNFSIDMAP_DEV)/usr/include
  28. include ${TOPDIR}/mk/pkg-bottom.mk