libproxy: update to 0.4.7.

This commit is contained in:
Juan RP 2012-05-23 10:04:50 +02:00
parent 7b97025a29
commit 44b3e65dc0
4 changed files with 26 additions and 17 deletions

View File

@ -6,11 +6,12 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run pkg-config
Add_dependency run libproxy
Add_dependency run libproxy ">=$version"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
noarch=yes
do_install() {
vmove usr/include usr
vmove usr/share usr
vmove usr/lib/pkgconfig usr/lib
}

View File

@ -5,12 +5,9 @@ long_desc="${long_desc}
This package contains the python bindings."
Add_dependency run libproxy
Add_dependency run libproxy ">=$version"
Add_dependency run python
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
do_install() {
vmove "usr/lib/python*" usr/lib
}

View File

@ -0,0 +1,10 @@
--- libproxy/url.cpp.orig 2012-05-23 10:02:53.073403074 +0200
+++ libproxy/url.cpp 2012-05-23 10:03:28.105566166 +0200
@@ -27,6 +27,7 @@
#define close _close
#endif
#include <fcntl.h> // For ::open()
+#include <unistd.h> // For read/close
#include <cstring> // For memcpy()
#include <sstream> // For int/string conversion (using stringstream)
#include <cstdio> // For sscanf()

View File

@ -1,14 +1,15 @@
# Template file for 'libproxy'
pkgname=libproxy
version=0.4.6
version=0.4.7
homepage="http://libproxy.googlecode.com"
license="LGPL-2.1"
distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz"
short_desc="A library handling all the details of proxy configuration"
maintainer="Juan RP <xtraeme@gmail.com>"
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"
revision=2
short_desc="A library handling all the details of proxy configuration"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=9ad912e63b1efca98fb442240a2bc7302e6021c1d0b1b9363327729f29462f30
checksum=8fe0a58810139ba3c2e186deccf3e68adcd127aa0e972b0862b30b3dde493797
long_desc="
libproxy is a library that provides automatic proxy configuration management.