wok-current annotate curl/receipt @ rev 20486
perl: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:09:53 2018 +0200 (2018-10-26) |
parents | 582252589b90 |
children | 5200337ae84e |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
pascal@20404 | 4 VERSION="7.60.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" |
pascal@15472 | 8 LICENSE="MIT" |
slaxemulator@6724 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@14 | 10 WEB_SITE="http://curl.haxx.se/" |
pankso@14 | 11 WGET_URL="http://curl.haxx.se/download/$TARBALL" |
pankso@15971 | 12 HOST_ARCH="i486 arm" |
pankso@14 | 13 |
pankso@10686 | 14 DEPENDS="libssl libcurl zlib libidn" |
pankso@10686 | 15 BUILD_DEPENDS="openssl-dev libidn-dev" |
erjo@10667 | 16 |
pankso@14 | 17 # Rules to configure and make the package. |
pankso@14 | 18 compile_rules() |
pankso@14 | 19 { |
pankso@14 | 20 cd $src |
pankso@1838 | 21 ./configure \ |
pankso@1838 | 22 --disable-ldap \ |
pascal@2489 | 23 $CONFIGURE_ARGS && |
slaxemulator@10212 | 24 make && make install |
pankso@14 | 25 } |
pankso@14 | 26 |
pankso@14 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 28 genpkg_rules() |
pankso@14 | 29 { |
pankso@14 | 30 mkdir -p $fs/usr/bin $fs/usr/lib |
slaxemulator@11198 | 31 cp -a $install/usr/bin/curl $fs/usr/bin |
pankso@14 | 32 } |
pankso@14 | 33 |