Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= pam
  5. PKG_VERSION:= 1.1.8
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 5107bbf54042400b6200e8367cc7feef
  8. PKG_DESCR:= Pluggable Authentication Modules
  9. PKG_BUILDDEP:= flex
  10. PKG_SECTION:= misc
  11. PKG_URL:= http://www.linux-pam.org/
  12. PKG_SITES:= http://www.linux-pam.org/library/
  13. PKG_OPTS:= dev
  14. DISTFILES:= Linux-PAM-$(PKG_VERSION).tar.gz
  15. WRKDIST= ${WRKDIR}/Linux-PAM-${PKG_VERSION}
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,PAM,pam,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. #XAKE_FLAGS+= GCC_HONOUR_COPTS=s
  19. CONFIGURE_ARGS+= --disable-nis \
  20. --enable-db=no
  21. post-install:
  22. # /lib is not automatically installed to staging area
  23. $(CP) $(WRKINST)/lib/libpam*.so* $(STAGING_TARGET_DIR)/usr/lib
  24. pam-install:
  25. $(INSTALL_DIR) $(IDIR_PAM)/etc/security
  26. $(CP) $(WRKINST)/etc/security/* $(IDIR_PAM)/etc/security
  27. $(INSTALL_DIR) $(IDIR_PAM)/lib/security
  28. $(CP) $(WRKINST)/lib/libpam*.so* $(IDIR_PAM)/lib
  29. $(CP) $(WRKINST)/lib/security/*.so* $(IDIR_PAM)/lib/security
  30. $(CP) ./files/pam.conf $(IDIR_PAM)/etc
  31. include ${TOPDIR}/mk/pkg-bottom.mk