wok-4.x view curl/receipt @ rev 14

Add : bash, cmake, curl, curl-dev
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:18:33 2007 +0100 (2007-12-18)
parents
children 00b8d39101ac
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.17.1"
5 CATEGORY="extra"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://curl.haxx.se/"
10 WGET_URL="http://curl.haxx.se/download/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/lib
26 cp -a $_pkg/usr/bin/curl $fs/usr/bin
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 strip -s $fs/usr/bin/*
29 strip --strip-unneeded $fs/usr/lib/*
30 }