wok-6.x view curl/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
parents | 55a7f2e3948f |
children | c31dd9c348cb |
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.72.0"
5 CATEGORY="network"
6 SHORT_DESC="Tool and librariess for transferring 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 libidn libssl zlib"
15 BUILD_DEPENDS="libidn-dev openssl-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/The most recent stable version/!d;s|.*<b>||;s|<.*||'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-ldap \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
40 cp -a $install/usr/bin/curl $fs/usr/bin
41 }