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