wok-next annotate curl/receipt @ rev 203

Category network (internet tools)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 13 13:50:45 2008 +0100 (2008-02-13)
parents 9496fd66a54a
children 9f6200556fc7
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@203 5 CATEGORY="network"
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