2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
15 PKG_SOURCE
:=Linux-PAM-
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.kernel.org
/pub
/linux
/libs
/pam
/pre
/library
/
17 PKG_MD5SUM
:=0f17f7105faa82a51dfbeb6b08a1ca29
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Linux-PAM-
$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=free implementation of the following DCE-RFC from Sunsoft.
30 Linux-PAM is a free implementation of the following DCE-RFC from Sunsoft.
\\\
31 URL
:=http
://www.kernel.org
/pub
/linux
/libs
/pam
34 define Build
/Configure
35 $(call Build
/Configure
/Default
, \
48 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
49 DESTDIR
="$(PKG_INSTALL_DIR)" \
53 define Build
/InstallDev
54 mkdir
-p
$(STAGING_DIR
)/usr
/lib
$(STAGING_DIR
)/lib
55 mkdir
-p
$(STAGING_DIR
)/usr
/include
56 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(STAGING_DIR
)/usr
/lib
/
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(STAGING_DIR
)/usr
/include
60 define Build
/UninstallDev
62 $(STAGING_DIR
)/usr
/include/security \
63 $(STAGING_DIR
)/lib
/libpam.
* \
64 $(STAGING_DIR
)/lib
/security
67 define Package
/libpam
/install
68 $(INSTALL_DIR
) $(1)/lib
69 $(INSTALL_DIR
) $(1)/etc
70 $(INSTALL_DIR
) $(1)/usr
/sbin
71 $(CP
) $(PKG_INSTALL_DIR
)/* $(1)/lib
/
72 $(CP
) $(PKG_INSTALL_DIR
)/etc
/* $(1)/etc
/
73 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
76 $(eval
$(call BuildPackage
,libpam
))