wok view curl/receipt @ rev 2178

Add synergy (thanks Matthew)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 08 16:53:08 2009 +0000 (2009-02-08)
parents e064f1c86673
children 404157548fd3
line source
1 # SliTaz package receipt.
3 PACKAGE="curl"
4 VERSION="7.19.2"
5 CATEGORY="network"
6 SHORT_DESC="Tool and libs for transferring files with URL syntax."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="openssl"
9 BUILD_DEPENDS="openssl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://curl.haxx.se/"
12 WGET_URL="http://curl.haxx.se/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-ldap \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $_pkg/usr/bin/curl $fs/usr/bin
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/bin/*
35 strip --strip-unneeded $fs/usr/lib/*
36 }