wok-next view libproxy/receipt @ rev 15855

New kernel config and huge receipt clean up
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jan 29 09:56:07 2014 +0100 (2014-01-29)
parents 086841d75237
children 1eb2f806cb87
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 }