wok-next view curl/receipt @ rev 20902

brotli: up (1.0.5); compton: re-version (0.1_beta2+87 -> 20170907); cookutils: up (1087); curl: up (7.61.0); file: up (5.33); gnutls: up (3.5.19); gvfs: up (1.36.2); meson: up (0.47.1); webkit2gtk: update bdeps; add libgdata and uhttpmock
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 28 15:39:37 2018 +0300 (2018-07-28)
parents b96375904f8e
children d3730d754d47
line source
1 # SliTaz package receipt v2.
3 PACKAGE="curl"
4 VERSION="7.61.0"
5 CATEGORY="network"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://curl.haxx.se/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/curl.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://curl.haxx.se/download/$TARBALL"
15 BUILD_DEPENDS="zlib-dev openssl-dev libidn2-dev"
16 # libssh2-dev c-ares-dev brotli-dev openldap-dev libpsl-dev"
17 SPLIT="libcurl curl-dev"
19 compile_rules() {
20 # --with-libssh2 --with-brotli --enable-ldap --with-nghttp2
22 ./configure \
23 --disable-static \
24 --enable-threaded-resolver \
25 --with-ca-path=/etc/ssl/certs \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install || return 1
31 rm -rf docs/examples/.deps
32 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
33 cook_pick_docs docs/*
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 curl)
39 copy curl
40 DEPENDS="libcurl"
41 ;;
42 libcurl)
43 copy *.so*
44 DEPENDS="libidn2 openssl zlib"
45 CAT="network|library"
46 ;;
47 curl-dev)
48 copy @dev
49 DEPENDS="curl libidn2-dev openssl-dev zlib-dev"
50 ;;
51 esac
52 }