wok-6.x annotate curl/receipt @ rev 12822

expat: cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 00:07:04 2012 +0200 (2012-05-22)
parents 9ac16696775d
children 8c593515546f
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="curl"
slaxemulator@12373 4 VERSION="7.25.0"
pankso@203 5 CATEGORY="network"
pankso@14 6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
pankso@14 7 MAINTAINER="pankso@slitaz.org"
slaxemulator@6724 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@14 9 WEB_SITE="http://curl.haxx.se/"
pankso@14 10 WGET_URL="http://curl.haxx.se/download/$TARBALL"
pankso@14 11
pankso@10686 12 DEPENDS="libssl libcurl zlib libidn"
pankso@10686 13 BUILD_DEPENDS="openssl-dev libidn-dev"
erjo@10667 14
pankso@14 15 # Rules to configure and make the package.
pankso@14 16 compile_rules()
pankso@14 17 {
pankso@14 18 cd $src
pankso@1838 19 ./configure \
pankso@1838 20 --disable-ldap \
pascal@2489 21 $CONFIGURE_ARGS &&
slaxemulator@10212 22 make && make install
pankso@14 23 }
pankso@14 24
pankso@14 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 26 genpkg_rules()
pankso@14 27 {
pankso@14 28 mkdir -p $fs/usr/bin $fs/usr/lib
slaxemulator@11198 29 cp -a $install/usr/bin/curl $fs/usr/bin
pankso@14 30 }
pankso@14 31