wok-next view curl/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents 835b3b8ce6ac
children d3707642a563
line source
1 # SliTaz package receipt v2.
3 PACKAGE="curl"
4 VERSION="7.58.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/stable/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 libssh2-dev libidn2-dev"
16 SPLIT="libcurl curl-dev"
18 compile_rules() {
19 ./configure \
20 --disable-static \
21 --enable-threaded-resolver \
22 --with-ca-path=/etc/ssl/certs \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make install || return 1
28 rm -rf docs/examples/.deps
29 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
30 cook_pick_docs docs/*
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 curl)
36 copy curl
37 DEPENDS="libcurl openssl zlib"
38 ;;
39 libcurl)
40 copy *.so*
41 DEPENDS="libidn2 libssh2 openssl zlib"
42 CAT="network|library"
43 ;;
44 curl-dev)
45 copy @dev
46 DEPENDS="curl libidn2-dev libssh2-dev openssl-dev zlib-dev"
47 ;;
48 esac
49 }