wok-next annotate curl/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | 3ce28fa1a454 |
children | 6c3718ca17b6 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
samuel_trassare@13421 | 4 VERSION="7.27.0" |
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 |