wok-current view libproxy/receipt @ rev 5797
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:09:27 2010 +0200 (2010-07-11) |
parents | 8752c40cc534 |
children | 68b0560ef691 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libproxy"
4 VERSION="0.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="library to provide automatic proxy configuration management"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="glib gtk+ gcc-lib-base xorg-libXmu libwebkit libtasn1"
9 BUILD_DEPENDS="glibc-base"
10 SUGGESTED="python icu libcurl libxslt webkit-r"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://libproxy.googlecode.com"
13 WGET_URL="$WEB_SITE/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --without-mozjs &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
33 #cp -a $_pkg/usr/lib/python* $fs/usr/lib
34 }