wok annotate libproxy/receipt @ rev 17302
fish: add deps, bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 31 09:13:15 2014 +0100 (2014-10-31) |
parents | 086841d75237 |
children | eeba7ab1dffe |
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@14716 | 8 LICENSE="LGPL2.1" |
pascal@2860 | 9 SUGGESTED="python icu libcurl libxslt webkit-r" |
jozee@2728 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4316 | 11 WEB_SITE="http://libproxy.googlecode.com" |
jozee@2728 | 12 WGET_URL="$WEB_SITE/files/$TARBALL" |
jozee@2728 | 13 |
pascal@14716 | 14 DEPENDS="glib gtk+ gcc-lib-base xorg-libXmu libwebkit libtasn1" |
pascal@14740 | 15 BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl \ |
pascal@14740 | 16 gtk+-dev pkg-config" |
pascal@14716 | 17 |
jozee@2728 | 18 # Rules to configure and make the package. |
jozee@2728 | 19 compile_rules() |
jozee@2728 | 20 { |
jozee@2728 | 21 cd $src |
pascal@6052 | 22 ./autogen.sh |
pascal@6052 | 23 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \ |
pascal@6052 | 24 -e 's|/usr/local|/usr|' CMakeCache.txt |
pascal@6052 | 25 ./autogen.sh && |
pascal@2845 | 26 make && |
pascal@14716 | 27 make DESTDIR=$DESTDIR install |
jozee@2728 | 28 } |
jozee@2728 | 29 |
jozee@2728 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2728 | 31 genpkg_rules() |
jozee@2728 | 32 { |
pankso@4316 | 33 mkdir -p $fs/usr/lib |
pascal@14716 | 34 cp -a $install/usr/bin $fs/usr |
pascal@14716 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14716 | 36 #cp -a $install/usr/lib/python* $fs/usr/lib |
jozee@2728 | 37 } |