wok view curl/receipt @ rev 151

Add : Midnight Commander, sudo.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jan 26 00:27:46 2008 +0100 (2008-01-26)
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 }