wok view curl/receipt @ rev 1998
Up: pixman (0.13.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 20:14:07 2009 +0100 (2009-01-08) |
parents | f5282444ff92 |
children | a830cacd3473 |
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="openssl"
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 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/curl $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/bin/*
35 strip --strip-unneeded $fs/usr/lib/*
36 }