wok annotate pam/receipt @ rev 9471

Automated merge with http://repos.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Apr 04 01:32:45 2011 +0200 (2011-04-04)
parents e06b8d6ac967
children 9ec9f97ceeb4
rev   line source
pascal@1948 1 # SliTaz package receipt.
pascal@1948 2
pascal@1948 3 PACKAGE="pam"
slaxemulator@6903 4 VERSION="1.1.2"
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"
gokhlayeh@8206 13 BUILD_DEPENDS="flex db"
pascal@1948 14
pascal@1948 15 # Rules to configure and make the package.
pascal@1948 16 compile_rules()
pascal@1948 17 {
pascal@1948 18 cd $src
gokhlayeh@8206 19 ./configure --sysconfdir=/etc &&
pascal@1948 20 make &&
gokhlayeh@8206 21 make install
pascal@1948 22 }
pascal@1948 23
pascal@1948 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1948 25 genpkg_rules()
pascal@1948 26 {
pascal@1948 27 mkdir -p $fs/lib
pascal@1948 28 cp -a $_pkg/etc $fs
pascal@1948 29 cp -a $_pkg/var $fs
pascal@1948 30 cp -a $_pkg/sbin $fs
pascal@1948 31 cp -a $_pkg/lib/*so* $fs/lib
pascal@1948 32 cp -a $_pkg/lib/security $fs/lib
pascal@1948 33 rm -f $fs/lib/security/*.la
pascal@2235 34 cp -a stuff/* $fs
pascal@1948 35 }