wok-current view libproxy/receipt @ rev 13737
xscavenger, xdigger: add menu entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 26 11:05:26 2012 +0100 (2012-12-26) |
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 }