From 01b99d5a65cd4cb692d1ba22670afd344085a548 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 11 Mar 2009 15:56:44 +0000 Subject: Add libproxy --- meta/packages/libproxy/libproxy/asneededfix.patch | 13 +++++++++++++ meta/packages/libproxy/libproxy_0.2.3.bb | 16 ++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta/packages/libproxy/libproxy/asneededfix.patch create mode 100644 meta/packages/libproxy/libproxy_0.2.3.bb (limited to 'meta/packages/libproxy') diff --git a/meta/packages/libproxy/libproxy/asneededfix.patch b/meta/packages/libproxy/libproxy/asneededfix.patch new file mode 100644 index 000000000..cc22077f0 --- /dev/null +++ b/meta/packages/libproxy/libproxy/asneededfix.patch @@ -0,0 +1,13 @@ +Index: libproxy-0.2.3/src/lib/Makefile.am +=================================================================== +--- libproxy-0.2.3.orig/src/lib/Makefile.am 2009-03-09 16:24:08.000000000 +0000 ++++ libproxy-0.2.3/src/lib/Makefile.am 2009-03-09 16:24:13.000000000 +0000 +@@ -2,7 +2,7 @@ + libproxy_la_SOURCES = misc.c url.c pac.c dhcp.c dns.c slp.c wpad.c proxy_factory.c config_file.c \ + misc.h url.h pac.h dhcp.h dns.h slp.h wpad.h proxy_factory.h proxy.h config_file.h + libproxy_la_CFLAGS = -Wall +-libproxy_la_LDFLAGS = -lm ++libproxy_la_LDFLAGS = -lm -ldl + + include_HEADERS = proxy.h + diff --git a/meta/packages/libproxy/libproxy_0.2.3.bb b/meta/packages/libproxy/libproxy_0.2.3.bb new file mode 100644 index 000000000..34172f263 --- /dev/null +++ b/meta/packages/libproxy/libproxy_0.2.3.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "A library that provides automatic proxy configuration management" +HOMEPAGE = "http://code.google.com/p/libproxy/" +LICENSE = "LGPL" +SECTION = "libs" + +DEPENDS = "virtual/libx11 xmu gconf-dbus" + +SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ + file://asneededfix.patch;patch=1" +S = "${WORKDIR}/libproxy-${PV}" + +inherit autotools_stage pkgconfig + +EXTRA_OECONF = "--without-kde --with-gnome --without-webkit --without-python --without-mozjs --without-networkmanager" + +FILES_${PN}-dbg += "${libdir}/libproxy/0.2.3/plugins/" \ No newline at end of file -- cgit v1.2.3