39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'libproxy'
|
|
pkgname=libproxy
|
|
version=0.4.18
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
|
|
-DWITH_PERL=0 -DWITH_PYTHON3=1 -DWITH_WEBKIT=0"
|
|
hostmakedepends="pkg-config python3 python3-setuptools"
|
|
makedepends="zlib-devel"
|
|
short_desc="Library handling all the details of proxy configuration"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://github.com/libproxy/libproxy"
|
|
distfiles="https://github.com/libproxy/libproxy/releases/download/${version}/libproxy-${version}.tar.xz"
|
|
checksum=69b5856e9ea42c38ac77e6b8c92ffc86a71d341fef74e77bef85f9cc6c47a4b1
|
|
|
|
post_patch() {
|
|
vsed '/add_test(NAME url-test/d' -i libproxy/test/CMakeLists.txt
|
|
}
|
|
|
|
libproxy-devel_package() {
|
|
depends="libproxy>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libproxy-python3_package() {
|
|
depends="libproxy>=${version} python3"
|
|
short_desc+=" - python3 bindings"
|
|
pkg_install() {
|
|
vmove "usr/lib/python*"
|
|
}
|
|
}
|