wok-next annotate curl/receipt @ rev 21329
updated librsvg (2.44.10 -> 2.46.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 12 15:48:44 2019 +0100 (2019-12-12) |
parents | 7c5d038be95b |
children |
rev | line source |
---|---|
al@19737 | 1 # SliTaz package receipt v2. |
pankso@14 | 2 |
pankso@14 | 3 PACKAGE="curl" |
al@21085 | 4 VERSION="7.63.0" |
pankso@203 | 5 CATEGORY="network" |
al@21051 | 6 SHORT_DESC="Transfer files with URL syntax" |
al@21051 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15472 | 8 LICENSE="MIT" |
al@19607 | 9 WEB_SITE="https://curl.haxx.se/" |
al@20902 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/curl.html" |
pankso@14 | 11 |
al@20443 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19607 | 13 WGET_URL="https://curl.haxx.se/download/$TARBALL" |
al@21085 | 14 TARBALL_SHA1="b87cbac60d20998967001995f409239a74b702b4" |
al@19607 | 15 |
al@21094 | 16 COOKOPTS="force-arch" # different configs |
al@21094 | 17 |
al@21051 | 18 BUILD_DEPENDS="zlib-dev openssl-dev libidn2-dev \ |
al@21051 | 19 libpsl-dev brotli-dev libssh2-dev openldap-dev nghttp2-dev" |
al@21051 | 20 SPLIT="libcurl $PACKAGE $PACKAGE-dev $PACKAGE-big:big $PACKAGE-big-dev:big" |
al@21051 | 21 |
al@21051 | 22 COPY_big="@std" |
al@21051 | 23 |
al@21051 | 24 DEPENDS_std="libcurl" |
al@21051 | 25 DEPENDS_libcurl="libidn2 openssl zlib" |
al@21051 | 26 DEPENDS_dev="curl libidn2-dev openssl-dev zlib-dev" |
al@21051 | 27 DEPENDS_big="brotli libidn2 libldap libpsl libssh2 nghttp2 openssl zlib" |
al@21051 | 28 DEPENDS_big_dev="curl-big brotli-dev libidn2-dev libpsl-dev libssh2-dev \ |
al@21051 | 29 nghttp2-dev openldap-dev openssl-dev zlib-dev" |
al@21051 | 30 |
al@21051 | 31 CAT_libcurl="network|library" |
al@21051 | 32 CAT_big="network|with Brotli, SSH2, LDAP, and HTTP2 support" |
al@21051 | 33 |
al@21051 | 34 PROVIDE_big="curl libcurl" |
al@21051 | 35 PROVIDE_big_dev="curl-dev" |
erjo@10667 | 36 |
al@20443 | 37 compile_rules() { |
al@21051 | 38 case $SET in |
al@21051 | 39 '') |
al@21051 | 40 SET_ARGS="--without-libpsl --without-brotli --without-libssh2 \ |
al@21051 | 41 --disable-ldap --without-nghttp2" |
al@21051 | 42 ;; |
al@21051 | 43 big) |
al@21051 | 44 SET_ARGS="--with-libpsl --with-brotli --with-libssh2 \ |
al@21051 | 45 --enable-ldap --with-nghttp2" |
al@21051 | 46 ;; |
al@21051 | 47 esac |
al@20902 | 48 |
pankso@1838 | 49 ./configure \ |
al@19607 | 50 --disable-static \ |
al@19607 | 51 --enable-threaded-resolver \ |
al@20443 | 52 --with-ca-path=/etc/ssl/certs \ |
al@21051 | 53 $SET_ARGS \ |
pascal@2489 | 54 $CONFIGURE_ARGS && |
al@20569 | 55 fix libtool && |
al@20569 | 56 make && |
al@20569 | 57 make install || return 1 |
al@20443 | 58 |
al@21051 | 59 case $SET in |
al@21051 | 60 '') |
al@21051 | 61 rm -rf docs/examples/.deps |
al@21051 | 62 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \; |
al@21051 | 63 cook_pick_docs docs/* |
al@19737 | 64 ;; |
al@19737 | 65 esac |
pankso@14 | 66 } |