wok-next view libproxy/receipt @ rev 19311
Make "yad" the virtual package with real options: "yad-gtk2" and "yad-gtk3"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 02:38:19 2016 +0300 (2016-07-12) |
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 }