wok-next annotate libproxy/receipt @ rev 20674

Up putty (0.70)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 12 05:17:48 2018 +0300 (2018-05-12)
parents d43bf7aae921
children f48456621a9d
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"
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"
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@20600 14 BUILD_DEPENDS="cmake webkitgtk-dev python-dev perl gtk+-dev"
al@20600 15 SPLIT="libproxy-dev"
pascal@14716 16
al@20600 17 compile_rules() {
pascal@6052 18 ./autogen.sh
pascal@6052 19 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
pascal@6052 20 -e 's|/usr/local|/usr|' CMakeCache.txt
pascal@6052 21 ./autogen.sh &&
pascal@2845 22 make &&
pascal@14716 23 make DESTDIR=$DESTDIR install
jozee@2728 24 }
jozee@2728 25
al@20600 26 genpkg_rules() {
pascal@20371 27 case $PACKAGE in
al@20600 28 libproxy)
al@20600 29 copy @std
al@20600 30 DEPENDS="glib gtk+ xorg-libXmu webkitgtk libtasn1"
al@20600 31 SUGGESTED="python icu libcurl libxslt"
al@20600 32 ;;
al@20600 33 *-dev)
al@20600 34 copy @dev
al@20600 35 ;;
pascal@20371 36 esac
jozee@2728 37 }