wok-next view curl/receipt @ rev 21085
Up: bison (3.2.3), cmake (3.13.2), curl (7.63.0), dbus (1.12.12), dialog (1.3-20181107), doxygen (1.8.14), e2fsprogs (1.44.5), glib (2.58.2), grep (3.3), itstool (2.0.5), jansson (2.12), jbig2dec (0.15), libfm-extra (1.3.1), libfm (1.3.1), libgpg-error (1.33), libidn (1.35), libjpeg-turbo (2.0.1), libtirpc (1.1.4), libuv (1.24.1), opus (1.3), opusfile (0.11), pango (1.42.4), pangomm (2.42.0), pcmanfm (1.3.1), rpcbind (1.2.5), rpcsvc-proto (1.4), sed (4.7), tcl (8.6.9), tslib (1.18), wget (1.20), wpa_supplicant (2.7)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 25 19:30:28 2018 +0200 (2018-12-25) |
parents | e7e7475e84c9 |
children | e19ff076dc63 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="curl"
4 VERSION="7.63.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"
14 TARBALL_SHA1="b87cbac60d20998967001995f409239a74b702b4"
16 BUILD_DEPENDS="zlib-dev openssl-dev libidn2-dev \
17 libpsl-dev brotli-dev libssh2-dev openldap-dev nghttp2-dev"
18 SPLIT="libcurl $PACKAGE $PACKAGE-dev $PACKAGE-big:big $PACKAGE-big-dev:big"
20 COPY_big="@std"
22 DEPENDS_std="libcurl"
23 DEPENDS_libcurl="libidn2 openssl zlib"
24 DEPENDS_dev="curl libidn2-dev openssl-dev zlib-dev"
25 DEPENDS_big="brotli libidn2 libldap libpsl libssh2 nghttp2 openssl zlib"
26 DEPENDS_big_dev="curl-big brotli-dev libidn2-dev libpsl-dev libssh2-dev \
27 nghttp2-dev openldap-dev openssl-dev zlib-dev"
29 CAT_libcurl="network|library"
30 CAT_big="network|with Brotli, SSH2, LDAP, and HTTP2 support"
32 PROVIDE_big="curl libcurl"
33 PROVIDE_big_dev="curl-dev"
35 compile_rules() {
36 case $SET in
37 '')
38 SET_ARGS="--without-libpsl --without-brotli --without-libssh2 \
39 --disable-ldap --without-nghttp2"
40 ;;
41 big)
42 SET_ARGS="--with-libpsl --with-brotli --with-libssh2 \
43 --enable-ldap --with-nghttp2"
44 ;;
45 esac
47 ./configure \
48 --disable-static \
49 --enable-threaded-resolver \
50 --with-ca-path=/etc/ssl/certs \
51 $SET_ARGS \
52 $CONFIGURE_ARGS &&
53 fix libtool &&
54 make &&
55 make install || return 1
57 case $SET in
58 '')
59 rm -rf docs/examples/.deps
60 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
61 cook_pick_docs docs/*
62 ;;
63 esac
64 }