wok view curl/receipt @ rev 19774
some *-dev depend on pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 15:50:51 2017 +0100 (2017-02-21) |
parents | fdae4331433c |
children | 81ea1c83d3b1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.52.1"
5 CATEGORY="network"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://curl.haxx.se/"
11 WGET_URL="http://curl.haxx.se/download/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libssl libcurl zlib libidn"
15 BUILD_DEPENDS="openssl-dev libidn-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --disable-ldap \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib
31 cp -a $install/usr/bin/curl $fs/usr/bin
32 }