summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/gnet/files/.mtn2git_empty0
-rw-r--r--packages/gnet/files/buildfix.patch13
-rw-r--r--packages/gnet/gnet_2.0.7.bb10
-rw-r--r--packages/gnet/gnet_cvs.bb14
4 files changed, 27 insertions, 10 deletions
diff --git a/packages/gnet/files/.mtn2git_empty b/packages/gnet/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gnet/files/.mtn2git_empty
diff --git a/packages/gnet/files/buildfix.patch b/packages/gnet/files/buildfix.patch
new file mode 100644
index 0000000000..8067620264
--- /dev/null
+++ b/packages/gnet/files/buildfix.patch
@@ -0,0 +1,13 @@
+Index: gnet/examples/Makefile.am
+===================================================================
+--- gnet.orig/examples/Makefile.am
++++ gnet/examples/Makefile.am
+@@ -2,7 +2,7 @@
+
+ @SET_MAKE@
+
+-SUBDIRS = xmlrpc
++SUBDIRS =
+
+ if OS_WIN32
+ noinst_PROGRAMS = echoclient echoserver \
diff --git a/packages/gnet/gnet_2.0.7.bb b/packages/gnet/gnet_2.0.7.bb
deleted file mode 100644
index d5e93c4000..0000000000
--- a/packages/gnet/gnet_2.0.7.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-DESCRIPTION = "GNet is a simple network library. It is written in C, object-oriented, and built upon GLib."
-LICENSE = "LGPL"
-HOMEPAGE = "http://www.gnetlibrary.org/"
-
-SRC_URI = "http://www.gnetlibrary.org/src/gnet-2.0.7.tar.gz"
-DEPENDS = "glib-2.0"
-
-EXTRA_OECONF = "--disable-pthreads"
-
-inherit pkgconfig autotools
diff --git a/packages/gnet/gnet_cvs.bb b/packages/gnet/gnet_cvs.bb
new file mode 100644
index 0000000000..28b9f1e2e3
--- /dev/null
+++ b/packages/gnet/gnet_cvs.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = "GNet is a simple network library. It is written in C, object-oriented, and built upon GLib."
+LICENSE = "LGPL"
+SECTION = "libs/network"
+HOMEPAGE = "http://www.gnetlibrary.org"
+DEPENDS = "glib-2.0"
+PV = "2.0.7+cvs${SRCDATE}"
+
+SRC_URI = "cvs://anonymous@anoncvs.gnome.org/cvs/gnome;module=gnet \
+ file://buildfix.patch;patch=1"
+S = "${WORKDIR}/gnet"
+
+EXTRA_OECONF = "--disable-pthreads"
+
+inherit autotools pkgconfig