wok annotate libproxy/receipt @ rev 11426
Compat: ntop - don't trigger cook of splitted packages when using tazwok (that's automatic)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Dec 14 15:56:46 2011 +0100 (2011-12-14) |
parents | 457e55d73abf |
children | 086841d75237 |
rev | line source |
---|---|
jozee@2728 | 1 # SliTaz package receipt. |
jozee@2728 | 2 |
jozee@2728 | 3 PACKAGE="libproxy" |
slaxemulator@6379 | 4 VERSION="0.4.6" |
jozee@2728 | 5 CATEGORY="multimedia" |
jozee@2728 | 6 SHORT_DESC="library to provide automatic proxy configuration management" |
jozee@2728 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@5030 | 8 DEPENDS="glib gtk+ gcc-lib-base xorg-libXmu libwebkit libtasn1" |
slaxemulator@6535 | 9 BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl" |
pascal@2860 | 10 SUGGESTED="python icu libcurl libxslt webkit-r" |
jozee@2728 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4316 | 12 WEB_SITE="http://libproxy.googlecode.com" |
jozee@2728 | 13 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2728 | 14 |
jozee@2728 | 15 # Rules to configure and make the package. |
jozee@2728 | 16 compile_rules() |
jozee@2728 | 17 { |
jozee@2728 | 18 cd $src |
pascal@6052 | 19 ./autogen.sh |
pascal@6052 | 20 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \ |
pascal@6052 | 21 -e 's|/usr/local|/usr|' CMakeCache.txt |
pascal@6052 | 22 ./autogen.sh && |
pascal@2845 | 23 make && |
jozee@2728 | 24 make DESTDIR=$PWD/_pkg install |
jozee@2728 | 25 } |
jozee@2728 | 26 |
jozee@2728 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2728 | 28 genpkg_rules() |
jozee@2728 | 29 { |
pankso@4316 | 30 mkdir -p $fs/usr/lib |
jozee@2728 | 31 cp -a $_pkg/usr/bin $fs/usr |
jozee@2728 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4316 | 33 #cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2728 | 34 } |