summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-03-11 15:56:44 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-03-11 16:40:27 +0000
commit01b99d5a65cd4cb692d1ba22670afd344085a548 (patch)
treec12ee777951b2f774fd770b4a395ea69cd7cda33
parentf94bd6b312b20c7c0c99c0874bb38887684fd8d6 (diff)
downloadpoky-01b99d5a65cd4cb692d1ba22670afd344085a548.tar.gz
Add libproxy
-rw-r--r--meta/packages/libproxy/libproxy/asneededfix.patch13
-rw-r--r--meta/packages/libproxy/libproxy_0.2.3.bb16
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/packages/libproxy/libproxy/asneededfix.patch b/meta/packages/libproxy/libproxy/asneededfix.patch
new file mode 100644
index 0000000000..cc22077f07
--- /dev/null
+++ b/meta/packages/libproxy/libproxy/asneededfix.patch
@@ -0,0 +1,13 @@
1Index: libproxy-0.2.3/src/lib/Makefile.am
2===================================================================
3--- libproxy-0.2.3.orig/src/lib/Makefile.am 2009-03-09 16:24:08.000000000 +0000
4+++ libproxy-0.2.3/src/lib/Makefile.am 2009-03-09 16:24:13.000000000 +0000
5@@ -2,7 +2,7 @@
6 libproxy_la_SOURCES = misc.c url.c pac.c dhcp.c dns.c slp.c wpad.c proxy_factory.c config_file.c \
7 misc.h url.h pac.h dhcp.h dns.h slp.h wpad.h proxy_factory.h proxy.h config_file.h
8 libproxy_la_CFLAGS = -Wall
9-libproxy_la_LDFLAGS = -lm
10+libproxy_la_LDFLAGS = -lm -ldl
11
12 include_HEADERS = proxy.h
13
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 0000000000..34172f263d
--- /dev/null
+++ b/meta/packages/libproxy/libproxy_0.2.3.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "A library that provides automatic proxy configuration management"
2HOMEPAGE = "http://code.google.com/p/libproxy/"
3LICENSE = "LGPL"
4SECTION = "libs"
5
6DEPENDS = "virtual/libx11 xmu gconf-dbus"
7
8SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
9 file://asneededfix.patch;patch=1"
10S = "${WORKDIR}/libproxy-${PV}"
11
12inherit autotools_stage pkgconfig
13
14EXTRA_OECONF = "--without-kde --with-gnome --without-webkit --without-python --without-mozjs --without-networkmanager"
15
16FILES_${PN}-dbg += "${libdir}/libproxy/0.2.3/plugins/" \ No newline at end of file