summaryrefslogtreecommitdiff
path: root/recipes/ggz
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/ggz
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/ggz')
-rw-r--r--recipes/ggz/files/ggz-unbreak-m4.patch46
-rw-r--r--recipes/ggz/ggz-client-libs_0.0.14.1.bb30
-rw-r--r--recipes/ggz/libggz_0.0.14.1.bb15
3 files changed, 91 insertions, 0 deletions
diff --git a/recipes/ggz/files/ggz-unbreak-m4.patch b/recipes/ggz/files/ggz-unbreak-m4.patch
new file mode 100644
index 0000000000..5e98535bd4
--- /dev/null
+++ b/recipes/ggz/files/ggz-unbreak-m4.patch
@@ -0,0 +1,46 @@
+--- /tmp/ggz.m4 2008-09-27 09:57:44.000000000 +0200
++++ ggz-client-libs-0.0.14.1/m4/ggz/ggz.m4 2008-09-27 10:06:02.000000000 +0200
+@@ -139,8 +139,8 @@
+ ])
+
+ if test "x${prefix}" = "xNONE"; then
+- ac_ggz_prefix_incdir="${ac_default_prefix}/include"
+- ac_ggz_prefix_libdir="${ac_default_prefix}/lib"
++ ac_ggz_prefix_incdir=""
++ ac_ggz_prefix_libdir=""
+ ac_ggz_prefix_bindir="${ac_default_prefix}/bin"
+ ac_ggz_prefix_etcdir="${ac_default_prefix}/etc"
+ else
+@@ -163,26 +163,22 @@
+ ac_ggz_prefix_bindir="${unq_bindir}"
+ ac_ggz_prefix_etcdir="${unq_sysconfdir}"
+ fi
+-ac_ggz_stdinc="$ac_ggz_prefix_incdir"
+-ac_ggz_stdlib="$ac_ggz_prefix_libdir"
++ac_ggz_stdinc=""
++ac_ggz_stdlib=""
+ ac_ggz_stdbin="$ac_ggz_prefix_bindir"
+ ac_ggz_stdetc="$ac_ggz_prefix_etcdir/ggzd"
+ if test "x$ac_ggz_prefix" != "x"; then
+- ac_ggz_stdinc="$ac_ggz_stdinc $ac_ggz_prefix/include"
+- ac_ggz_stdlib="$ac_ggz_stdlib $ac_ggz_prefix/lib $ac_ggz_prefix/lib64"
++ ac_ggz_stdinc=" "
++ ac_ggz_stdlib=" "
+ ac_ggz_stdbin="$ac_ggz_stdbin $ac_ggz_prefix/bin"
+ ac_ggz_stdetc="$ac_ggz_stdetc $ac_ggz_prefix/etc/ggzd"
+ fi
+ if test "x$1" = "xdefaults" || test "x$2" = "xdefaults"; then
+- ac_ggz_stdinc="$ac_ggz_stdinc /usr/local/include /usr/include"
+- ac_ggz_stdlib="$ac_ggz_stdlib /usr/local/lib /usr/local/lib64 /usr/lib /usr/lib64"
++ ac_ggz_stdinc=" "
++ ac_ggz_stdlib=" "
+ ac_ggz_stdbin="$ac_ggz_stdbin /usr/local/bin /usr/bin"
+ ac_ggz_stdetc="$ac_ggz_stdetc /usr/local/etc/ggzd /etc/ggzd"
+ fi
+-if test "x$1" = "xexport" || test "x$2" = "xexport"; then
+- CPPFLAGS="$CPPFLAGS -I ${ac_ggz_prefix_incdir} -I /usr/local/include"
+- LDFLAGS="$LDFLAGS -L${ac_ggz_prefix_libdir} -L/usr/local/lib"
+-fi
+
+ save_cflags=$CFLAGS
+ save_cxxflags=$CXXFLAGS
diff --git a/recipes/ggz/ggz-client-libs_0.0.14.1.bb b/recipes/ggz/ggz-client-libs_0.0.14.1.bb
new file mode 100644
index 0000000000..6b956ba2df
--- /dev/null
+++ b/recipes/ggz/ggz-client-libs_0.0.14.1.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = " Client libraries for GamingZone"
+LICENSE = "LGPLv2"
+DEPENDS = "libggz"
+
+PR = "r1"
+
+SRC_URI = "http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${PN}-${PV}.tar.gz \
+ file://ggz-unbreak-m4.patch;patch=1 \
+ "
+
+inherit autotools
+
+EXTRA_OECONF = "--with-ggz-dir=${STAGING_INCDIR}/../ \
+ --with-libggz-includes=${STAGING_INCDIR} \
+ --with-libggz-libraries=${STAGING_LIBDIR} \
+ "
+
+do_configure_append() {
+ for i in $(find ${S} -name "Makefile") ; do
+ sed -i -e s:'-I /usr/include -I /usr/local/include'::g $i
+ done
+}
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+do_stage() {
+ autotools_stage_all
+}
+
+
diff --git a/recipes/ggz/libggz_0.0.14.1.bb b/recipes/ggz/libggz_0.0.14.1.bb
new file mode 100644
index 0000000000..ff96bd09af
--- /dev/null
+++ b/recipes/ggz/libggz_0.0.14.1.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "GGZ Gaming Zone lib"
+LICENSE = "LGPLv2"
+DEPENDS = "gnutls libgcrypt"
+
+SRC_URI = "http://ftp.belnet.be/packages/ggzgamingzone/ggz/${PV}/${PN}-${PV}.tar.gz"
+
+inherit autotools
+
+AUTOTOOLS_STAGE_PKGCONFIG = "1"
+
+do_stage() {
+ autotools_stage_all
+}
+
+