wok-current view libproxy/receipt @ rev 8981
Automated merge with http://hg.slitaz.org/wok
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Mar 02 20:58:26 2011 +0100 (2011-03-02) |
parents | 457e55d73abf |
children | 086841d75237 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libproxy"
4 VERSION="0.4.6"
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 cmake libwebkit-dev python python-dev perl"
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 ./autogen.sh
20 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
21 -e 's|/usr/local|/usr|' CMakeCache.txt
22 ./autogen.sh &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 #cp -a $_pkg/usr/lib/python* $fs/usr/lib
34 }