1
0

Makefile 915 B

12345678910111213141516171819202122232425262728293031
  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:= libcap
  5. PKG_VERSION:= 2.22
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= ce64058bdb3f086ddbfca8ce6c919845
  8. PKG_DESCR:= capabilities library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= pam
  11. PKG_URL:= http://www.friedhoff.org/posixfilecaps.html
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,LIBCAP,libcap,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. CPPFLAGS_FOR_BUILD+= -I$(STAGING_TARGET_DIR)/usr/include
  18. CONFIG_STYLE:= manual
  19. libcap-install:
  20. $(INSTALL_DIR) $(IDIR_LIBCAP)/usr/lib
  21. $(CP) $(WRKINST)/usr/lib/libcap*.so* \
  22. $(IDIR_LIBCAP)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk