wok-6.x view curl/receipt @ rev 25492
Up foomatic-db (4.0-20221117)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 18 09:54:27 2022 +0000 (21 months ago) |
parents | c7da5d8a0b77 |
children |
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 }