wok-current annotate curl/receipt @ rev 25208
updated python-numpy (1.16.4 -> 1.16.6)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:56:01 2022 +0100 (2022-07-13) |
parents | c7da5d8a0b77 |
children | 3ad63c8fc2f9 |
rev | line source |
---|---|
pankso@14 | 1 # SliTaz package receipt. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
Hans-G?nter@24449 | 4 VERSION="7.81.0" |
pankso@203 | 5 CATEGORY="network" |
Hans-G?nter@24449 | 6 SHORT_DESC="Tool and libraries for transfering files with URL syntax." |
pankso@14 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15472 | 8 LICENSE="MIT" |
Hans-G?nter@22623 | 9 WEB_SITE="https://curl.haxx.se/" |
Hans-G?nter@22623 | 10 |
slaxemulator@6724 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 12 WGET_URL="https://curl.haxx.se/download/$TARBALL" |
Hans-G?nter@22623 | 13 |
Hans-G?nter@24449 | 14 DEPENDS="libcurl libgnutls libidn libssl zlib" |
Hans-G?nter@24449 | 15 BUILD_DEPENDS="gnutls-dev libidn-dev openssl-dev" |
Hans-G?nter@22623 | 16 |
pankso@15971 | 17 HOST_ARCH="i486 arm" |
pankso@14 | 18 |
Hans-G?nter@24449 | 19 # @maintainer: Please update also libcurl |
Hans-G?nter@24449 | 20 |
pascal@23963 | 21 current_version() |
pascal@23963 | 22 { |
pascal@23963 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@23963 | 24 sed '/The most recent stable version/!d;s|.*<b>||;s|<.*||' |
pascal@23963 | 25 } |
pascal@23963 | 26 |
pankso@14 | 27 # Rules to configure and make the package. |
pankso@14 | 28 compile_rules() |
pankso@14 | 29 { |
Hans-G?nter@22623 | 30 ./configure \ |
Hans-G?nter@22623 | 31 --disable-ldap \ |
Hans-G?nter@24449 | 32 --with-gnutls \ |
pascal@2489 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22623 | 34 make && |
Hans-G?nter@22623 | 35 make install |
pankso@14 | 36 } |
pankso@14 | 37 |
pankso@14 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@14 | 39 genpkg_rules() |
pankso@14 | 40 { |
Hans-G?nter@22623 | 41 mkdir -p $fs/usr/bin |
Hans-G?nter@22623 | 42 |
Hans-G?nter@22623 | 43 cp -a $install/usr/bin/curl $fs/usr/bin |
pankso@14 | 44 } |