2009-05-14 15:26:30 +02:00
|
|
|
# Template file for 'libproxy'
|
|
|
|
pkgname=libproxy
|
2012-12-04 20:37:57 +01:00
|
|
|
version=0.4.10
|
2014-01-26 20:01:44 +01:00
|
|
|
revision=3
|
2011-10-24 15:08:19 +02:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
|
2012-12-04 20:37:57 +01:00
|
|
|
-DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0"
|
2013-04-13 10:15:49 +02:00
|
|
|
hostmakedepends="pkg-config python cmake"
|
2014-01-26 20:01:44 +01:00
|
|
|
makedepends="zlib-devel"
|
2012-12-04 20:37:57 +01:00
|
|
|
short_desc="A library handling all the details of proxy configuration"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://libproxy.googlecode.com"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
|
|
|
|
checksum=023e3c1023c522333ac4c414e9cb6db05bc564d3e5d30570e2db07aac100c635
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libproxy-devel_package() {
|
2014-01-26 20:01:44 +01:00
|
|
|
depends="libproxy>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-26 20:01:44 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libproxy-python_package() {
|
|
|
|
depends="libproxy>=${version} python"
|
2014-01-26 20:01:44 +01:00
|
|
|
short_desc+=" - python bindings"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
}
|
|
|
|
}
|