wok-4.x annotate pam/receipt @ rev 5549

Up: gettext (0.18)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 13 21:37:34 2010 +0200 (2010-05-13)
parents a4af2b62bb67
children e06b8d6ac967
rev   line source
pascal@1948 1 # SliTaz package receipt.
pascal@1948 2
pascal@1948 3 PACKAGE="pam"
rcx@3646 4 VERSION="1.1.0"
pascal@1948 5 CATEGORY="system-tools"
pascal@1948 6 SHORT_DESC="Pluggable Authentication Modules."
pascal@1948 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1948 8 SOURCE="Linux-PAM"
pascal@1948 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@1948 10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/$PACKAGE/"
pascal@1948 11 WGET_URL="${WEB_SITE}library/$TARBALL"
rcx@3646 12 DEPENDS="glibc-base libdb"
rcx@3646 13 BUILD_DEPENDS="bison m4 flex db-dev"
pascal@1948 14
pascal@1948 15 # Rules to configure and make the package.
pascal@1948 16 compile_rules()
pascal@1948 17 {
rcx@3646 18 # mv $SOURCE-$VERSION $PACKAGE-$VERSION
pascal@1948 19 cd $src
pascal@1948 20 ./configure --prefix=/usr --infodir=/usr/share/info \
rcx@3646 21 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1948 22 make &&
pascal@1948 23 make DESTDIR=$PWD/_pkg install
pascal@1948 24 }
pascal@1948 25
pascal@1948 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1948 27 genpkg_rules()
pascal@1948 28 {
pascal@1948 29 mkdir -p $fs/lib
pascal@1948 30 cp -a $_pkg/etc $fs
pascal@1948 31 cp -a $_pkg/var $fs
pascal@1948 32 cp -a $_pkg/sbin $fs
pascal@1948 33 cp -a $_pkg/lib/*so* $fs/lib
pascal@1948 34 cp -a $_pkg/lib/security $fs/lib
pascal@1948 35 rm -f $fs/lib/security/*.la
pascal@2235 36 cp -a stuff/* $fs
pascal@1948 37 }