wok-next annotate libproxy/receipt @ rev 2728
Add: libproxy, libproxy-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Fri Apr 24 07:33:25 2009 +0000 (2009-04-24) |
parents | |
children | 583bdd691510 |
rev | line source |
---|---|
jozee@2728 | 1 # SliTaz package receipt. |
jozee@2728 | 2 |
jozee@2728 | 3 PACKAGE="libproxy" |
jozee@2728 | 4 VERSION="0.2.3" |
jozee@2728 | 5 CATEGORY="multimedia" |
jozee@2728 | 6 SHORT_DESC="library to provide automatic proxy configuration management" |
jozee@2728 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2728 | 8 DEPENDS="glibc" |
jozee@2728 | 9 BUILD_DEPENDS="glibc-base" |
jozee@2728 | 10 SUGGESTED="python" |
jozee@2728 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2728 | 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 |
jozee@2728 | 19 ./configure --prefix=/usr |
jozee@2728 | 20 make |
jozee@2728 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2728 | 22 |
jozee@2728 | 23 } |
jozee@2728 | 24 |
jozee@2728 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2728 | 26 genpkg_rules() |
jozee@2728 | 27 { |
jozee@2728 | 28 mkdir -p $fs/usr/lib |
jozee@2728 | 29 cp -a $_pkg/usr/bin $fs/usr |
jozee@2728 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2728 | 31 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
jozee@2728 | 32 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2728 | 33 |
jozee@2728 | 34 |
jozee@2728 | 35 } |