wok-next view curl/receipt @ rev 1761

Up: homebank (4.0)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Nov 25 12:23:22 2008 +0100 (2008-11-25)
parents 9f6200556fc7
children 98ca68c2e57c
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 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 }