wok-next view curl/receipt @ rev 21051

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 30 01:34:53 2018 +0200 (2018-11-30)
parents d5aab818505e
children 7c5d038be95b
line source
1 # SliTaz package receipt v2.
3 PACKAGE="curl"
4 VERSION="7.62.0"
5 CATEGORY="network"
6 SHORT_DESC="Transfer files with URL syntax"
7 MAINTAINER="al.bobylev@gmail.com"
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 libpsl-dev brotli-dev libssh2-dev openldap-dev nghttp2-dev"
17 SPLIT="libcurl $PACKAGE $PACKAGE-dev $PACKAGE-big:big $PACKAGE-big-dev:big"
19 COPY_big="@std"
21 DEPENDS_std="libcurl"
22 DEPENDS_libcurl="libidn2 openssl zlib"
23 DEPENDS_dev="curl libidn2-dev openssl-dev zlib-dev"
24 DEPENDS_big="brotli libidn2 libldap libpsl libssh2 nghttp2 openssl zlib"
25 DEPENDS_big_dev="curl-big brotli-dev libidn2-dev libpsl-dev libssh2-dev \
26 nghttp2-dev openldap-dev openssl-dev zlib-dev"
28 CAT_libcurl="network|library"
29 CAT_big="network|with Brotli, SSH2, LDAP, and HTTP2 support"
31 PROVIDE_big="curl libcurl"
32 PROVIDE_big_dev="curl-dev"
34 compile_rules() {
35 case $SET in
36 '')
37 SET_ARGS="--without-libpsl --without-brotli --without-libssh2 \
38 --disable-ldap --without-nghttp2"
39 ;;
40 big)
41 SET_ARGS="--with-libpsl --with-brotli --with-libssh2 \
42 --enable-ldap --with-nghttp2"
43 ;;
44 esac
46 ./configure \
47 --disable-static \
48 --enable-threaded-resolver \
49 --with-ca-path=/etc/ssl/certs \
50 $SET_ARGS \
51 $CONFIGURE_ARGS &&
52 fix libtool &&
53 make &&
54 make install || return 1
56 case $SET in
57 '')
58 rm -rf docs/examples/.deps
59 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
60 cook_pick_docs docs/*
61 ;;
62 esac
63 }