wok-stable annotate pam/receipt @ rev 11386
Compat: ensure that pam WGET_URL is non-https. Otherwise tazwok can't download it at cook-toolchain time
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 04:42:49 2011 +0100 (2011-12-10) |
parents | 658bcfcdf7ac |
children | 79d46277d7f9 |
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/" |
gokhlayeh@11386 | 11 # Download sources from a non-https mirror so that tazwok can |
gokhlayeh@11386 | 12 # cook the toolchain (pam is a build-depend of busybox). |
gokhlayeh@11386 | 13 # It's because at this moment tazwok doesn't have access to https |
gokhlayeh@11386 | 14 # compatible wget. |
gokhlayeh@11386 | 15 WGET_URL="http://gentoo.osuosl.org/distfiles/$TARBALL" |
pankso@9743 | 16 |
rcx@3646 | 17 DEPENDS="glibc-base libdb" |
gokhlayeh@11386 | 18 BUILD_DEPENDS="flex db db-dev" |
pascal@1948 | 19 |
pascal@1948 | 20 # Rules to configure and make the package. |
pascal@1948 | 21 compile_rules() |
pascal@1948 | 22 { |
pascal@1948 | 23 cd $src |
slaxemulator@11183 | 24 ./configure --sysconfdir=/etc $CONFIGURE_ARGS && |
pankso@9743 | 25 make && make install |
pascal@1948 | 26 } |
pascal@1948 | 27 |
pascal@1948 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1948 | 29 genpkg_rules() |
pascal@1948 | 30 { |
pascal@1948 | 31 mkdir -p $fs/lib |
pascal@1948 | 32 cp -a $_pkg/etc $fs |
pascal@1948 | 33 cp -a $_pkg/var $fs |
pascal@1948 | 34 cp -a $_pkg/sbin $fs |
pascal@1948 | 35 cp -a $_pkg/lib/*so* $fs/lib |
pascal@1948 | 36 cp -a $_pkg/lib/security $fs/lib |
pascal@1948 | 37 rm -f $fs/lib/security/*.la |
pankso@9743 | 38 cp -a $stuff/* $fs |
pascal@1948 | 39 } |