wok-4.x annotate curl/receipt @ rev 14

Add : bash, cmake, curl, curl-dev
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 13:18:33 2007 +0100 (2007-12-18)
parents
children 00b8d39101ac
rev   line source
pankso@14 1 # SliTaz package receipt.
pankso@14 2
pankso@14 3 PACKAGE="curl"
pankso@14 4 VERSION="7.17.1"
pankso@14 5 CATEGORY="extra"
pankso@14 6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
pankso@14 7 MAINTAINER="pankso@slitaz.org"
pankso@14 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@14 9 WEB_SITE="http://curl.haxx.se/"
pankso@14 10 WGET_URL="http://curl.haxx.se/download/$TARBALL"
pankso@14 11
pankso@14 12 # Rules to configure and make the package.
pankso@14 13 compile_rules()
pankso@14 14 {
pankso@14 15 cd $src
pankso@14 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@14 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@14 18 make
pankso@14 19 make DESTDIR=$PWD/_pkg install
pankso@14 20 }
pankso@14 21
pankso@14 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@14 23 genpkg_rules()
pankso@14 24 {
pankso@14 25 mkdir -p $fs/usr/bin $fs/usr/lib
pankso@14 26 cp -a $_pkg/usr/bin/curl $fs/usr/bin
pankso@14 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@14 28 strip -s $fs/usr/bin/*
pankso@14 29 strip --strip-unneeded $fs/usr/lib/*
pankso@14 30 }
pankso@14 31