wok-next annotate curl/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 8f554bc45cec
children 835b3b8ce6ac
rev   line source
al@19737 1 # SliTaz package receipt v2.
pankso@14 2
pankso@14 3 PACKAGE="curl"
al@20443 4 VERSION="7.55.1"
pankso@203 5 CATEGORY="network"
al@19737 6 SHORT_DESC="Tool and libs for transferring files with URL syntax"
pankso@14 7 MAINTAINER="pankso@slitaz.org"
pascal@15472 8 LICENSE="MIT"
al@19607 9 WEB_SITE="https://curl.haxx.se/"
al@20443 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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@19607 14
al@19833 15 BUILD_DEPENDS="zlib-dev openssl-dev libssh2-dev libidn2-dev"
al@19737 16 SPLIT="libcurl curl-dev"
erjo@10667 17
al@20443 18 compile_rules() {
pankso@1838 19 ./configure \
al@19607 20 --disable-static \
al@19607 21 --enable-threaded-resolver \
al@20443 22 --with-ca-path=/etc/ssl/certs \
pascal@2489 23 $CONFIGURE_ARGS &&
al@20443 24 make && make install || return 1
al@20443 25
al@20443 26 rm -rf docs/examples/.deps
al@20443 27 find docs \( -name Makefile\* -o -name \*.1 -o -name \*.3 \) -exec rm {} \;
al@20443 28 cook_pick_docs docs/*
pankso@14 29 }
pankso@14 30
al@20443 31 genpkg_rules() {
al@19737 32 case $PACKAGE in
al@19737 33 curl)
al@19737 34 copy curl
al@20443 35 DEPENDS="libcurl openssl zlib"
al@19737 36 ;;
al@19737 37 libcurl)
al@19737 38 copy *.so*
al@20443 39 DEPENDS="libidn2 libssh2 openssl zlib"
al@19737 40 CAT="network|library"
al@19737 41 ;;
al@19737 42 curl-dev)
al@19737 43 copy @dev
al@19833 44 DEPENDS="curl libidn2-dev libssh2-dev openssl-dev zlib-dev"
al@19737 45 ;;
al@19737 46 esac
pankso@14 47 }