summaryrefslogtreecommitdiffstats
path: root/abs/extra/libproxy
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2010-12-28 18:05:08 (GMT)
committerCecil <knoppmyth@gmail.com>2010-12-28 18:05:08 (GMT)
commitcfd4d415e8d133ae8907a0c8f3a587b2f44dec69 (patch)
treeb1884a69398f0edc3a0e5481fcfaa6b92d77efd5 /abs/extra/libproxy
parent59b02dca09fc2f5cb1bfb60d1d2c75f1a1022fcf (diff)
downloadlinhes_pkgbuild-cfd4d415e8d133ae8907a0c8f3a587b2f44dec69.zip
linhes_pkgbuild-cfd4d415e8d133ae8907a0c8f3a587b2f44dec69.tar.gz
linhes_pkgbuild-cfd4d415e8d133ae8907a0c8f3a587b2f44dec69.tar.bz2
libproxy:initial inclusion
Diffstat (limited to 'abs/extra/libproxy')
-rw-r--r--abs/extra/libproxy/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/extra/libproxy/PKGBUILD b/abs/extra/libproxy/PKGBUILD
new file mode 100644
index 0000000..2f2010e
--- /dev/null
+++ b/abs/extra/libproxy/PKGBUILD
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD 24494 2009-01-17 20:42:01Z jgc $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=libproxy
+pkgver=0.4.6
+pkgrel=2
+pkgdesc="A library that provides automatic proxy configuration management"
+arch=(i686 x86_64)
+license=('LGPL')
+depends=('gcc-libs')
+optdepends=('gconf: GNOME configuration module'
+ 'kdelibs: KDE configuration module'
+ 'networkmanager: NetworkManager configuration module'
+ 'libwebkit: WPAD/PAC parsing via WebKit JavaScript engine'
+ 'xulrunner: WPAD/PAC parsing via Mozilla JavaScript engine'
+ 'perl: Perl bindings'
+ 'python2: Python bindings')
+makedepends=('xulrunner' 'gconf' 'cmake' 'networkmanager' 'libwebkit' 'automoc4' 'python2' 'kdelibs' 'perl')
+url="http://libproxy.googlecode.com"
+source=(http://libproxy.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
+options=('!libtool')
+md5sums=('199c6b120baf1f7258a55f38d5ec74f5')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir build
+ cd build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIBEXEC_INSTALL_DIR=/usr/lib/libproxy \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DPERL_VENDORINSTALL=yes \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
+ -DCMAKE_C_FLAGS="${CFLAGS}" \
+ ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+ make DESTDIR="${pkgdir}" install
+}