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
:=http
://pkgs.fedoraproject.org
/repo
/pkgs
/pam
/Linux-PAM-1.1
.4.
tar.bz2
/e9af5fb27bb22edb55d077e2888b3ebc
/
16 PKG_MD5SUM
:=e9af5fb27bb22edb55d077e2888b3ebc
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
); autoreconf
-v
-f
--install || exit
1)
41 $(call Build
/Configure
/Default
, \
55 define Build
/InstallDev
56 $(INSTALL_DIR
) $(1)/lib
57 $(INSTALL_DIR
) $(1)/usr
/include
58 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include
62 define Package
/libpam
/install
63 $(INSTALL_DIR
) $(1)/lib
64 $(INSTALL_DIR
) $(1)/etc
65 $(INSTALL_DIR
) $(1)/usr
/sbin
66 $(CP
) $(PKG_INSTALL_DIR
)/lib
/* $(1)/lib
/
67 $(CP
) $(PKG_INSTALL_DIR
)/etc
/* $(1)/etc
/
68 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/* $(1)/usr
/sbin
/
71 $(eval
$(call BuildPackage
,libpam
))