diff options
Diffstat (limited to 'recipes/gnet')
-rw-r--r-- | recipes/gnet/files/buildfix.patch | 13 | ||||
-rw-r--r-- | recipes/gnet/gnet_cvs.bb | 18 | ||||
-rw-r--r-- | recipes/gnet/gnet_svn.bb | 21 |
3 files changed, 52 insertions, 0 deletions
diff --git a/recipes/gnet/files/buildfix.patch b/recipes/gnet/files/buildfix.patch new file mode 100644 index 0000000000..8067620264 --- /dev/null +++ b/recipes/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/recipes/gnet/gnet_cvs.bb b/recipes/gnet/gnet_cvs.bb new file mode 100644 index 0000000000..b36df17c18 --- /dev/null +++ b/recipes/gnet/gnet_cvs.bb @@ -0,0 +1,18 @@ +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 + +do_stage() { + autotools_stage_all +} diff --git a/recipes/gnet/gnet_svn.bb b/recipes/gnet/gnet_svn.bb new file mode 100644 index 0000000000..c09b7f8b9c --- /dev/null +++ b/recipes/gnet/gnet_svn.bb @@ -0,0 +1,21 @@ +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+svn${SRCDATE}" + +SRC_URI = "svn://svn.gnome.org/svn/${PN}/;module=trunk \ + file://buildfix.patch;patch=1" + +S = "${WORKDIR}/trunk" + +EXTRA_OECONF = "--disable-pthreads" + +FILES_${PN}-dev += "${libdir}/gnet-2.0" + +inherit autotools pkgconfig + +do_stage() { + autotools_stage_all +} |