wok-4.x view curl/receipt @ rev 1800
curl: update depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Dec 01 22:58:27 2008 +0000 (2008-12-01) |
parents | 1c152e58a1be |
children | f5282444ff92 |
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.19.1"
5 CATEGORY="network"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="libldap cyrus-sasl"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://curl.haxx.se/"
11 WGET_URL="http://curl.haxx.se/download/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $fs/usr/lib
27 cp -a $_pkg/usr/bin/curl $fs/usr/bin
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 strip -s $fs/usr/bin/*
30 strip --strip-unneeded $fs/usr/lib/*
31 }