wok-4.x annotate pam/receipt @ rev 11216
Add from wok-undigest: Qt4-qca-ossl alarm-clock apcupsd avant-window-navigator avant-window-navigator-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 21:50:22 2011 +0100 (2011-11-03) |
parents | ab076d8ad4c9 |
children | ab5bfe22ed1d |
rev | line source |
---|---|
pascal@1948 | 1 # SliTaz package receipt. |
pascal@1948 | 2 |
pascal@1948 | 3 PACKAGE="pam" |
slaxemulator@11183 | 4 VERSION="1.1.5" |
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" |
slaxemulator@11183 | 10 WEB_SITE="http://www.us.kernel.org/pub/linux/libs/pam/" |
slaxemulator@11183 | 11 WGET_URL="https://fedorahosted.org/releases/l/i/linux-pam/$TARBALL" |
pankso@9743 | 12 |
rcx@3646 | 13 DEPENDS="glibc-base libdb" |
pascal@11200 | 14 BUILD_DEPENDS="wget flex db db-dev" |
pascal@1948 | 15 |
pascal@1948 | 16 # Rules to configure and make the package. |
pascal@1948 | 17 compile_rules() |
pascal@1948 | 18 { |
pascal@1948 | 19 cd $src |
slaxemulator@11183 | 20 ./configure --sysconfdir=/etc $CONFIGURE_ARGS && |
pankso@9743 | 21 make && 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 |
pankso@9743 | 34 cp -a $stuff/* $fs |
pascal@1948 | 35 } |