wok view libproxy/receipt @ rev 14719

libsdl: add add-XGetRequest-symbol.patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 13:26:19 2013 +0200 (2013-06-11)
parents 3453431bc9f9
children b8cdd495ef07
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./autogen.sh
22 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
23 -e 's|/usr/local|/usr|' CMakeCache.txt
24 ./autogen.sh &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 #cp -a $install/usr/lib/python* $fs/usr/lib
36 }