contrib/linux-pam/Pkgfile

28 lines
779 B
Plaintext
Raw Normal View History

2007-06-27 06:46:43 +02:00
# Description: Linux-PAM (Pluggable Authentication Modules for Linux)
# URL: http://www.us.kernel.org/pub/linux/libs/pam/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
name=linux-pam
2012-12-20 09:43:24 +01:00
version=1.1.6
2007-06-27 06:46:43 +02:00
release=1
2012-12-20 09:43:24 +01:00
source=(http://www.linux-pam.org/library/Linux-PAM-$version.tar.bz2 pam.conf)
2007-06-27 06:46:43 +02:00
build() {
cd Linux-PAM-$version
2012-12-20 09:43:24 +01:00
# Disable pam_userdb because it relies on the dbm api of db.
# If you need this module, rebuild db with --enable-dbm
# and comment this:
sed -ri -e 's|^(.*)pam_userdb(.*)$|\1\2|g' modules/Makefile.in
./configure \
--sysconfdir=/etc \
--prefix=/usr \
--mandir=/usr/man \
--disable-nls
2007-06-27 06:46:43 +02:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share $PKG/lib/*.la $PKG/lib/security/*.la
2007-06-27 06:46:43 +02:00
install -D -m 644 $SRC/pam.conf $PKG/etc/pam.conf
}