wok annotate curl/receipt @ rev 1590
sox: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Oct 16 20:19:46 2008 +0000 (2008-10-16) |
parents | 00b8d39101ac |
children | 1c152e58a1be |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
pankso@868 | 4 VERSION="7.18.2" |
pankso@203 | 5 CATEGORY="network" |
pankso@14 | 6 SHORT_DESC="Tool and libs for transferring files with URL syntax." |
pankso@14 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@14 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@14 | 9 WEB_SITE="http://curl.haxx.se/" |
pankso@14 | 10 WGET_URL="http://curl.haxx.se/download/$TARBALL" |
pankso@14 | 11 |
pankso@14 | 12 # Rules to configure and make the package. |
pankso@14 | 13 compile_rules() |
pankso@14 | 14 { |
pankso@14 | 15 cd $src |
pankso@14 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@14 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@14 | 18 make |
pankso@14 | 19 make DESTDIR=$PWD/_pkg install |
pankso@14 | 20 } |
pankso@14 | 21 |
pankso@14 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 23 genpkg_rules() |
pankso@14 | 24 { |
pankso@14 | 25 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@14 | 26 cp -a $_pkg/usr/bin/curl $fs/usr/bin |
pankso@14 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@14 | 28 strip -s $fs/usr/bin/* |
pankso@14 | 29 strip --strip-unneeded $fs/usr/lib/* |
pankso@14 | 30 } |
pankso@14 | 31 |