wok-4.x annotate curl/receipt @ rev 6752
Up: mtools to 4.0.14.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 17:51:13 2010 +0000 (2010-10-17) |
parents | 07ceb84b3f14 |
children | 2d5630aff895 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
slaxemulator@6724 | 4 VERSION="7.21.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" |
pascal@2489 | 8 DEPENDS="openssl libcurl zlib" |
pankso@1838 | 9 BUILD_DEPENDS="openssl-dev" |
slaxemulator@6724 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@14 | 11 WEB_SITE="http://curl.haxx.se/" |
pankso@14 | 12 WGET_URL="http://curl.haxx.se/download/$TARBALL" |
pankso@14 | 13 |
pankso@14 | 14 # Rules to configure and make the package. |
pankso@14 | 15 compile_rules() |
pankso@14 | 16 { |
pankso@14 | 17 cd $src |
pankso@1838 | 18 ./configure \ |
pankso@1838 | 19 --prefix=/usr \ |
pankso@1838 | 20 --infodir=/usr/share/info \ |
pankso@1838 | 21 --mandir=/usr/share/man \ |
pankso@1838 | 22 --disable-ldap \ |
pankso@2471 | 23 --without-libidn \ |
pascal@2489 | 24 $CONFIGURE_ARGS && |
pascal@2489 | 25 make && |
pankso@14 | 26 make DESTDIR=$PWD/_pkg install |
pankso@14 | 27 } |
pankso@14 | 28 |
pankso@14 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 30 genpkg_rules() |
pankso@14 | 31 { |
pankso@14 | 32 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@14 | 33 cp -a $_pkg/usr/bin/curl $fs/usr/bin |
pankso@14 | 34 } |
pankso@14 | 35 |