wok-next annotate curl/receipt @ rev 20025

Up opencv (3.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 13:30:25 2017 +0200 (2017-10-22)
parents 9a5b17ddcfcb
children 0e7893ac206d
rev   line source
al@19737 1 # SliTaz package receipt v2.
pankso@14 2
pankso@14 3 PACKAGE="curl"
al@19737 4 VERSION="7.54.0"
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/"
pankso@15971 10 HOST_ARCH="i486 arm"
pankso@14 11
al@19607 12 TARBALL="$PACKAGE-$VERSION.tar.lzma"
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
pankso@14 18 # Rules to configure and make the package.
pankso@14 19 compile_rules()
pankso@14 20 {
pankso@1838 21 ./configure \
al@19607 22 --disable-static \
al@19607 23 --enable-threaded-resolver \
pascal@2489 24 $CONFIGURE_ARGS &&
slaxemulator@10212 25 make && make install
pankso@14 26 }
pankso@14 27
pankso@14 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 29 genpkg_rules()
pankso@14 30 {
al@19737 31 case $PACKAGE in
al@19737 32 curl)
al@19737 33 copy curl
al@19833 34 DEPENDS="libcrypto libcurl libssl zlib"
al@19737 35 ;;
al@19737 36 libcurl)
al@19737 37 copy *.so*
al@19833 38 DEPENDS="libcrypto libidn2 libssh2 libssl zlib"
al@19737 39 CAT="network|library"
al@19737 40 ;;
al@19737 41 curl-dev)
al@19737 42 copy @dev
al@19833 43 DEPENDS="curl libidn2-dev libssh2-dev openssl-dev zlib-dev"
al@19737 44 ;;
al@19737 45 esac
pankso@14 46 }