wok-next annotate curl/receipt @ rev 11842
Add perl-lwp-mediatypes.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 27 01:16:02 2012 -0500 (2012-02-27) |
parents | 243c00e55fbc |
children | 3ce28fa1a454 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
slaxemulator@11327 | 4 VERSION="7.23.1" |
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" |
slaxemulator@6724 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@14 | 9 WEB_SITE="http://curl.haxx.se/" |
pankso@14 | 10 WGET_URL="http://curl.haxx.se/download/$TARBALL" |
pankso@14 | 11 |
pankso@10686 | 12 DEPENDS="libssl libcurl zlib libidn" |
pankso@10686 | 13 BUILD_DEPENDS="openssl-dev libidn-dev" |
erjo@10667 | 14 |
pankso@14 | 15 # Rules to configure and make the package. |
pankso@14 | 16 compile_rules() |
pankso@14 | 17 { |
pankso@14 | 18 cd $src |
pankso@1838 | 19 ./configure \ |
pankso@1838 | 20 --disable-ldap \ |
pascal@2489 | 21 $CONFIGURE_ARGS && |
slaxemulator@10212 | 22 make && make install |
pankso@14 | 23 } |
pankso@14 | 24 |
pankso@14 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 26 genpkg_rules() |
pankso@14 | 27 { |
pankso@14 | 28 mkdir -p $fs/usr/bin $fs/usr/lib |
slaxemulator@11198 | 29 cp -a $install/usr/bin/curl $fs/usr/bin |
pankso@14 | 30 } |
pankso@14 | 31 |