wok-6.x view libproxy/receipt @ rev 6223

Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 22:56:32 2010 +0000 (2010-09-11)
parents 23656e3f46a6
children 457e55d73abf
line source
1 # SliTaz package receipt.
3 PACKAGE="libproxy"
4 VERSION="0.4.2"
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"
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/$PACKAGE $fs/usr/lib
34 #cp -a $_pkg/usr/lib/python* $fs/usr/lib
35 }