wok-next annotate libproxy/receipt @ rev 14716
lib[o-r]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 11:09:32 2013 +0200 (2013-06-11) |
parents | 3453431bc9f9 |
children | b8cdd495ef07 |
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@14716 | 15 BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl" |
pascal@14716 | 16 |
jozee@2728 | 17 # Rules to configure and make the package. |
jozee@2728 | 18 compile_rules() |
jozee@2728 | 19 { |
jozee@2728 | 20 cd $src |
pascal@6052 | 21 ./autogen.sh |
pascal@6052 | 22 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \ |
pascal@6052 | 23 -e 's|/usr/local|/usr|' CMakeCache.txt |
pascal@6052 | 24 ./autogen.sh && |
pascal@2845 | 25 make && |
pascal@14716 | 26 make DESTDIR=$DESTDIR install |
jozee@2728 | 27 } |
jozee@2728 | 28 |
jozee@2728 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2728 | 30 genpkg_rules() |
jozee@2728 | 31 { |
pankso@4316 | 32 mkdir -p $fs/usr/lib |
pascal@14716 | 33 cp -a $install/usr/bin $fs/usr |
pascal@14716 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14716 | 35 #cp -a $install/usr/lib/python* $fs/usr/lib |
jozee@2728 | 36 } |