wok view curl/receipt @ rev 8200

imported patch toolchain/mpc-library.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 86f412ee99b9
children 86fe5649244d
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.21.3"
5 CATEGORY="network"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="openssl libcurl zlib"
9 BUILD_DEPENDS="openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://curl.haxx.se/"
12 WGET_URL="http://curl.haxx.se/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-ldap \
23 --without-libidn \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib
33 cp -a $_pkg/usr/bin/curl $fs/usr/bin
34 }