wok-next view curl/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 7c5d038be95b
children
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 COOKOPTS="force-arch" # different configs
18 BUILD_DEPENDS="zlib-dev openssl-dev libidn2-dev \
19 libpsl-dev brotli-dev libssh2-dev openldap-dev nghttp2-dev"
20 SPLIT="libcurl $PACKAGE $PACKAGE-dev $PACKAGE-big:big $PACKAGE-big-dev:big"
22 COPY_big="@std"
24 DEPENDS_std="libcurl"
25 DEPENDS_libcurl="libidn2 openssl zlib"
26 DEPENDS_dev="curl libidn2-dev openssl-dev zlib-dev"
27 DEPENDS_big="brotli libidn2 libldap libpsl libssh2 nghttp2 openssl zlib"
28 DEPENDS_big_dev="curl-big brotli-dev libidn2-dev libpsl-dev libssh2-dev \
29 nghttp2-dev openldap-dev openssl-dev zlib-dev"
31 CAT_libcurl="network|library"
32 CAT_big="network|with Brotli, SSH2, LDAP, and HTTP2 support"
34 PROVIDE_big="curl libcurl"
35 PROVIDE_big_dev="curl-dev"
37 compile_rules() {
38 case $SET in
39 '')
40 SET_ARGS="--without-libpsl --without-brotli --without-libssh2 \
41 --disable-ldap --without-nghttp2"
42 ;;
43 big)
44 SET_ARGS="--with-libpsl --with-brotli --with-libssh2 \
45 --enable-ldap --with-nghttp2"
46 ;;
47 esac
49 ./configure \
50 --disable-static \
51 --enable-threaded-resolver \
52 --with-ca-path=/etc/ssl/certs \
53 $SET_ARGS \
54 $CONFIGURE_ARGS &&
55 fix libtool &&
56 make &&
57 make install || return 1
59 case $SET in
60 '')
61 rm -rf docs/examples/.deps
62 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
63 cook_pick_docs docs/*
64 ;;
65 esac
66 }