wok-next annotate libproxy/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
pascal@20372 | 1 # SliTaz package receipt v2. |
jozee@2728 | 2 |
jozee@2728 | 3 PACKAGE="libproxy" |
pascal@20371 | 4 VERSION="0.4.15" |
jozee@2728 | 5 CATEGORY="multimedia" |
al@21020 | 6 SHORT_DESC="Automatic proxy configuration management" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14716 | 8 LICENSE="LGPL2.1" |
al@20600 | 9 WEB_SITE="https://libproxy.github.io/libproxy/" |
al@20600 | 10 |
jozee@2728 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20371 | 12 WGET_URL="https://github.com/libproxy/libproxy/archive/$VERSION.tar.gz" |
jozee@2728 | 13 |
al@21017 | 14 BUILD_DEPENDS="cmake webkitgtk-dev python-dev perl gtk2-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@14716 | 16 |
al@20600 | 17 compile_rules() { |
pascal@6052 | 18 ./autogen.sh |
al@21020 | 19 sed \ |
al@21020 | 20 -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \ |
al@21020 | 21 -e 's|/usr/local|/usr|' \ |
al@21020 | 22 -i CMakeCache.txt |
al@21020 | 23 |
pascal@6052 | 24 ./autogen.sh && |
pascal@2845 | 25 make && |
al@21020 | 26 make DESTDIR=$install install |
jozee@2728 | 27 } |
jozee@2728 | 28 |
al@20600 | 29 genpkg_rules() { |
pascal@20371 | 30 case $PACKAGE in |
al@20600 | 31 libproxy) |
al@20600 | 32 copy @std |
al@21078 | 33 DEPENDS="glib gtk2 libxmu webkitgtk libtasn1" |
al@20600 | 34 SUGGESTED="python icu libcurl libxslt" |
al@20600 | 35 ;; |
al@20600 | 36 *-dev) |
al@20600 | 37 copy @dev |
al@20600 | 38 ;; |
pascal@20371 | 39 esac |
jozee@2728 | 40 } |