wok-next view libproxy/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | d5aab818505e |
children |
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 libxmu webkitgtk libtasn1"
34 SUGGESTED="python icu libcurl libxslt"
35 ;;
36 *-dev)
37 copy @dev
38 ;;
39 esac
40 }