# Template file for 'libproxy'
pkgname=libproxy
version=0.4.6
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
build_style=configure
configure_script=cmake
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
-DWITH_GNOME=off -DWITH_KDE4=off -DWITH_MOZJS=off -DWITH_NM=off -DWITH_PERL=off
-DWITH_PYTHON=yes -DWITH_WEBKIT=off"
short_desc="A library handling all the details of proxy configuration"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30
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"

subpackages="$pkgname-devel $pkgname-python"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++

Add_dependency build pkg-config
Add_dependency build python
Add_dependency build cmake
