wok view curl/receipt @ rev 429
Sync Slim theme with slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 13 21:22:30 2008 +0100 (2008-03-13) |
parents | 9496fd66a54a |
children | 9f6200556fc7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.17.1"
5 CATEGORY="network"
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 }