wok-current view curl/receipt @ rev 5442
asterisk: use bb/sed
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 10:47:45 2010 +0200 (2010-05-05) |
parents | 0a65a1c695ce |
children | 07ceb84b3f14 |
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.20.1"
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.gz"
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 }