wok-current diff pam/receipt @ rev 1950

tazndis, fix load_ndiswrapper
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Dec 28 23:59:28 2008 +0100 (2008-12-28)
parents
children 8f9353288f5b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pam/receipt	Sun Dec 28 23:59:28 2008 +0100
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pam"
     1.7 +VERSION="1.0.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Pluggable Authentication Modules."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +SOURCE="Linux-PAM"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 +WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/"
    1.14 +WGET_URL="${WEB_SITE}library/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	ln -s $SOURCE-$VERSION ../$PACKAGE-$VERSION
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/lib
    1.31 +	cp -a $_pkg/etc $fs
    1.32 +	cp -a $_pkg/var $fs
    1.33 +	cp -a $_pkg/sbin $fs
    1.34 +	cp -a $_pkg/lib/*so* $fs/lib
    1.35 +	cp -a $_pkg/lib/security $fs/lib
    1.36 +	rm -f $fs/lib/security/*.la
    1.37 +}