wok view libproxy/receipt @ rev 17890

Up xfw (1.40)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 02 17:19:45 2015 +0200 (2015-04-02)
parents 086841d75237
children eeba7ab1dffe
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 LICENSE="LGPL2.1"
9 SUGGESTED="python icu libcurl libxslt webkit-r"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://libproxy.googlecode.com"
12 WGET_URL="$WEB_SITE/files/$TARBALL"
14 DEPENDS="glib gtk+ gcc-lib-base xorg-libXmu libwebkit libtasn1"
15 BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl \
16 gtk+-dev pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./autogen.sh
23 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
24 -e 's|/usr/local|/usr|' CMakeCache.txt
25 ./autogen.sh &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 #cp -a $install/usr/lib/python* $fs/usr/lib
37 }