libproxy: cross build support; move so symlinks to -devel pkg.
This commit is contained in:
parent
6bde9eeab6
commit
8416794ca0
1 changed files with 6 additions and 16 deletions
|
@ -1,43 +1,33 @@
|
||||||
# Template file for 'libproxy'
|
# Template file for 'libproxy'
|
||||||
pkgname=libproxy
|
pkgname=libproxy
|
||||||
version=0.4.10
|
version=0.4.10
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
|
configure_args="-DWITH_GNOME=0 -DWITH_KDE4=0 -DWITH_MOZJS=0 -DWITH_NM=0
|
||||||
-DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0"
|
-DWITH_PERL=0 -DWITH_PYTHON=1 -DWITH_WEBKIT=0"
|
||||||
hostmakedepends="pkg-config python cmake"
|
hostmakedepends="pkg-config python cmake"
|
||||||
|
makedepends="zlib-devel"
|
||||||
short_desc="A library handling all the details of proxy configuration"
|
short_desc="A library handling all the details of proxy configuration"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://libproxy.googlecode.com"
|
homepage="http://libproxy.googlecode.com"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
|
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
|
||||||
checksum=023e3c1023c522333ac4c414e9cb6db05bc564d3e5d30570e2db07aac100c635
|
checksum=023e3c1023c522333ac4c414e9cb6db05bc564d3e5d30570e2db07aac100c635
|
||||||
long_desc="
|
|
||||||
libproxy is a library that provides automatic proxy configuration management.
|
|
||||||
|
|
||||||
libproxy offers the following features:
|
|
||||||
|
|
||||||
* extremely small core footprint (less than 35K)
|
|
||||||
* no external dependencies within libproxy core (libproxy plugins may
|
|
||||||
have dependencies)
|
|
||||||
* only 3 functions in the stable external API
|
|
||||||
* dynamic adjustment to changing network topology
|
|
||||||
* a standard way of dealing with proxy settings across all scenarios
|
|
||||||
* a sublime sense of joy and accomplishment"
|
|
||||||
|
|
||||||
libproxy-devel_package() {
|
libproxy-devel_package() {
|
||||||
depends="libproxy>=${version}"
|
depends="libproxy>=${version}_${revision}"
|
||||||
short_desc+=" -- development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/share
|
vmove usr/share
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libproxy-python_package() {
|
libproxy-python_package() {
|
||||||
depends="libproxy>=${version} python"
|
depends="libproxy>=${version} python"
|
||||||
short_desc+=" -- python bindings"
|
short_desc+=" - python bindings"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/python*"
|
vmove "usr/lib/python*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue