void-packages/srcpkgs/libproxy/template
Juergen Buchmueller ff2687315c libproxy: update to 0.4.13
Project moved to GitHub from Google Code (#4762)
2016-09-17 14:11:11 +02:00

34 lines
1,004 B
Bash

# Template file for 'libproxy'
pkgname=libproxy
version=0.4.13
revision=1
build_style=cmake
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
-DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0"
hostmakedepends="pkg-config python cmake"
makedepends="zlib-devel"
short_desc="A library handling all the details of proxy configuration"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://github.com/libproxy/libproxy"
license="LGPL-2.1"
distfiles="https://github.com/libproxy/libproxy/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=d610bc0ef81a18ba418d759c5f4f87bf7102229a9153fb397d7d490987330ffd
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-python_package() {
depends="libproxy>=${version} python"
short_desc+=" - python bindings"
pkg_install() {
vmove "usr/lib/python*"
}
}