wok annotate curl/receipt @ rev 24005

cdrkit: force catalog sort weight
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 19 09:09:36 2021 +0000 (2021-01-19)
parents 55a7f2e3948f
children c31dd9c348cb
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="curl"
pascal@23963 4 VERSION="7.72.0"
pankso@203 5 CATEGORY="network"
Hans-G?nter@22623 6 SHORT_DESC="Tool and librariess for transferring 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@22623 14 DEPENDS="libcurl libidn libssl zlib"
Hans-G?nter@22623 15 BUILD_DEPENDS="libidn-dev openssl-dev"
Hans-G?nter@22623 16
pankso@15971 17 HOST_ARCH="i486 arm"
pankso@14 18
pascal@23963 19 current_version()
pascal@23963 20 {
pascal@23963 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@23963 22 sed '/The most recent stable version/!d;s|.*<b>||;s|<.*||'
pascal@23963 23 }
pascal@23963 24
pankso@14 25 # Rules to configure and make the package.
pankso@14 26 compile_rules()
pankso@14 27 {
Hans-G?nter@22623 28 ./configure \
Hans-G?nter@22623 29 --disable-ldap \
pascal@2489 30 $CONFIGURE_ARGS &&
Hans-G?nter@22623 31 make &&
Hans-G?nter@22623 32 make install
pankso@14 33 }
pankso@14 34
pankso@14 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 36 genpkg_rules()
pankso@14 37 {
Hans-G?nter@22623 38 mkdir -p $fs/usr/bin
Hans-G?nter@22623 39
Hans-G?nter@22623 40 cp -a $install/usr/bin/curl $fs/usr/bin
pankso@14 41 }