2 # Copyright (C) 2006-2009 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=Linux-PAM-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@KERNEL
/linux
/libs
/pam
/pre
/library
16 PKG_MD5SUM
:=0f17f7105faa82a51dfbeb6b08a1ca29
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/Linux-PAM-
$(PKG_VERSION
)
22 include $(INCLUDE_DIR
)/package.mk
28 TITLE
:=free implementation of the following DCE-RFC from Sunsoft.
29 URL
:=http
://www.kernel.org
/pub
/linux
/libs
/pam
32 define Package
/libpam
/description
33 Linux-PAM is a free implementation of the following DCE-RFC from Sunsoft.
37 TARGET_CFLAGS
+= $(FPIC
)
39 define Build
/Configure
40 $(call Build
/Configure
/Default
, \
52 define Build
/InstallDev
53 $(INSTALL_DIR
) $(1)/lib
54 $(INSTALL_DIR
) $(1)/usr
/include
55 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
59 define Package
/libpam
/install
60 $(INSTALL_DIR
) $(1)/lib
61 $(INSTALL_DIR
) $(1)/etc
62 $(INSTALL_DIR
) $(1)/usr
/sbin
63 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
64 $(CP
) $(PKG_INSTALL_DIR
)/etc
/* $(1)/etc
/
65 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
68 $(eval
$(call BuildPackage
,libpam
))