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.bz2
15 PKG_SOURCE_URL
:=@KERNEL
/linux
/libs
/pam
/pre
/library
16 PKG_MD5SUM
:=81173dfeffe69d726081f9c5667cd3e7
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 (cd
$(PKG_BUILD_DIR
); aclocal
-I m4
&& autoconf
&& automake
)
41 $(call Build
/Configure
/Default
, \
53 define Build
/InstallDev
54 $(INSTALL_DIR
) $(1)/lib
55 $(INSTALL_DIR
) $(1)/usr
/include
56 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
60 define Package
/libpam
/install
61 $(INSTALL_DIR
) $(1)/lib
62 $(INSTALL_DIR
) $(1)/etc
63 $(INSTALL_DIR
) $(1)/usr
/sbin
64 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
65 $(CP
) $(PKG_INSTALL_DIR
)/etc
/* $(1)/etc
/
66 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
69 $(eval
$(call BuildPackage
,libpam
))