From 06e0809c8892a5e5924b1d24b935dbd4ac9403d3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 14 May 2009 15:26:30 +0200 Subject: [PATCH] Added libproxy-0.2.3 template. --HG-- extra : convert_revision : 643d4bb241703a04c2fa64e4e22ac86bd216b312 --- templates/libproxy-devel | 1 + templates/libproxy-python | 1 + templates/libproxy/depends | 2 ++ templates/libproxy/devel.template | 17 +++++++++++++++++ templates/libproxy/python.template | 15 +++++++++++++++ templates/libproxy/template | 28 ++++++++++++++++++++++++++++ 6 files changed, 64 insertions(+) create mode 120000 templates/libproxy-devel create mode 120000 templates/libproxy-python create mode 100644 templates/libproxy/depends create mode 100644 templates/libproxy/devel.template create mode 100644 templates/libproxy/python.template create mode 100644 templates/libproxy/template diff --git a/templates/libproxy-devel b/templates/libproxy-devel new file mode 120000 index 00000000000..be922bb73ca --- /dev/null +++ b/templates/libproxy-devel @@ -0,0 +1 @@ +libproxy \ No newline at end of file diff --git a/templates/libproxy-python b/templates/libproxy-python new file mode 120000 index 00000000000..be922bb73ca --- /dev/null +++ b/templates/libproxy-python @@ -0,0 +1 @@ +libproxy \ No newline at end of file diff --git a/templates/libproxy/depends b/templates/libproxy/depends new file mode 100644 index 00000000000..3ee948c43bf --- /dev/null +++ b/templates/libproxy/depends @@ -0,0 +1,2 @@ +abi_depends=0.2.3 +api_depends=${abi_depends} diff --git a/templates/libproxy/devel.template b/templates/libproxy/devel.template new file mode 100644 index 00000000000..5b66ad6c0ce --- /dev/null +++ b/templates/libproxy/devel.template @@ -0,0 +1,17 @@ +# Template file for 'libproxy-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run libproxy + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/templates/libproxy/python.template b/templates/libproxy/python.template new file mode 100644 index 00000000000..705729dc628 --- /dev/null +++ b/templates/libproxy/python.template @@ -0,0 +1,15 @@ +# Template file for 'libproxy-python'. +# +short_desc="${sourcepkg} python bindings" +long_desc="${long_desc} + + This package contains the python bindings." + +Add_dependency run libproxy +Add_dependency run python + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib +} diff --git a/templates/libproxy/template b/templates/libproxy/template new file mode 100644 index 00000000000..7af94e46c28 --- /dev/null +++ b/templates/libproxy/template @@ -0,0 +1,28 @@ +# Template file for 'libproxy' +pkgname=libproxy +sourcepkg=$pkgname +version=0.2.3 +distfiles="http://libproxy.googlecode.com/files/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--without-gnome --without-kde --without-webkit + --without-mozjs --without-networkmanager --with-python" +short_desc="A library handling all the details of proxy configuration" +maintainer="Juan RP " +checksum=59ded160b3547d29e37cc9d06359f7f37d94112214e4532430cd65e704c1339a +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="devel python" +Add_dependency build pkg-config +Add_dependency build python +Add_dependency run glibc