wok-current view curl/receipt @ rev 15971

curl: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 26 23:23:36 2014 +0100 (2014-02-26)
parents 6c3718ca17b6
children fdae4331433c
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.27.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 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 }