wok view curl/receipt @ rev 881

linux: minimize lzma memory footprint
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 06 23:15:25 2008 +0000 (2008-06-06)
parents 00b8d39101ac
children 1c152e58a1be
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.18.2"
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 }