wok view libproxy/receipt @ rev 25689
updated mmv (1.01b-18 -> 2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 13 10:48:47 2024 +0100 (7 months ago) |
parents | 00e3b45c063b |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libproxy"
4 VERSION="0.4.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="library to provide automatic proxy configuration management"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 SUGGESTED="python icu libcurl libxslt webkit-r"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://libproxy.github.io/libproxy/"
12 WGET_URL="https://github.com/libproxy/libproxy/archive/refs/tags/$TARBALL"
14 DEPENDS="glib gtk+ gcc-lib-base xorg-libXmu libwebkit libtasn1"
15 BUILD_DEPENDS="glibc-base cmake libwebkit-dev python python-dev perl \
16 gtk+-dev pkg-config"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/libproxy/libproxy/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./autogen.sh
30 sed -i -e 's/WITH_MOZJS:BOOL=ON/WITH_MOZJS:BOOL=OFF/' \
31 -e 's|/usr/local|/usr|' CMakeCache.txt
32 ./autogen.sh &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 #cp -a $install/usr/lib/python* $fs/usr/lib
44 }