wok-next view curl/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 9a5b17ddcfcb |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="curl"
4 VERSION="7.54.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 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.lzma"
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --disable-static \
23 --enable-threaded-resolver \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 curl)
33 copy curl
34 DEPENDS="libcrypto libcurl libssl zlib"
35 ;;
36 libcurl)
37 copy *.so*
38 DEPENDS="libcrypto libidn2 libssh2 libssl zlib"
39 CAT="network|library"
40 ;;
41 curl-dev)
42 copy @dev
43 DEPENDS="curl libidn2-dev libssh2-dev openssl-dev zlib-dev"
44 ;;
45 esac
46 }