wok-next view libproxy/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libproxy"
4 VERSION="0.4.15"
5 CATEGORY="multimedia"
6 SHORT_DESC="Automatic proxy configuration management"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://libproxy.github.io/libproxy/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libproxy/libproxy/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake webkitgtk-dev python-dev perl gtk2-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./autogen.sh
19 sed \
20 -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
21 -e 's|/usr/local|/usr|' \
22 -i CMakeCache.txt
24 ./autogen.sh &&
25 make &&
26 make DESTDIR=$install install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libproxy)
32 copy @std
33 DEPENDS="glib gtk2 xorg-libXmu webkitgtk libtasn1"
34 SUGGESTED="python icu libcurl libxslt"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }