wok-current annotate libtasn1/receipt @ rev 8476
Fixed some receipts that used PACKAGE-VERSION installed of src.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 18:38:32 2011 +0000 (2011-02-07) |
parents | 4829bb876a86 |
children | 64f3febd8dcd |
rev | line source |
---|---|
pankso@4358 | 1 # SliTaz package receipt. |
pankso@4358 | 2 |
pankso@4358 | 3 PACKAGE="libtasn1" |
slaxemulator@6684 | 4 VERSION="2.8" |
pankso@4358 | 5 CATEGORY="security" |
pankso@4358 | 6 SHORT_DESC="ASN.1 library." |
pankso@4358 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@4358 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4358 | 9 WEB_SITE="http://www.gnu.org/software/libtasn1/" |
pankso@4358 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@4358 | 11 |
pankso@4358 | 12 # Rules to configure and make the package. |
pankso@4358 | 13 compile_rules() |
pankso@4358 | 14 { |
pankso@4358 | 15 cd $src |
pankso@4358 | 16 ./configure \ |
pankso@4358 | 17 --prefix=/usr \ |
pankso@4358 | 18 $CONFIGURE_ARGS && |
pankso@4358 | 19 make && |
pankso@4358 | 20 make DESTDIR=$PWD/_pkg install |
pankso@4358 | 21 } |
pankso@4358 | 22 |
pankso@4358 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4358 | 24 genpkg_rules() |
pankso@4358 | 25 { |
pankso@4358 | 26 mkdir -p $fs/usr/lib |
pankso@4358 | 27 cp -a $_pkg/usr/bin $fs/usr |
pankso@4358 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4358 | 29 } |