wok-stable view libproxy/receipt @ rev 10787

wikiss: add upload plugin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 01 18:38:36 2011 +0200 (2011-06-01)
parents 457e55d73abf
children
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 }