summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/check
diff options
context:
space:
mode:
Diffstat (limited to 'meta-moblin/packages/check')
-rw-r--r--meta-moblin/packages/check/check_0.9.2.bb20
-rw-r--r--meta-moblin/packages/check/check_0.9.5.bb19
-rw-r--r--meta-moblin/packages/check/files/configure_fix.patch12
3 files changed, 51 insertions, 0 deletions
diff --git a/meta-moblin/packages/check/check_0.9.2.bb b/meta-moblin/packages/check/check_0.9.2.bb
new file mode 100644
index 0000000000..ec7a91d206
--- /dev/null
+++ b/meta-moblin/packages/check/check_0.9.2.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "a unit test framework for C"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+SECTION = "devel"
+
+PR="r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz"
+S = "${WORKDIR}/check-${PV}"
+
+inherit autotools
+
+EXTRA_OECONF += "--enable-plain-docdir"
+
+do_stage() {
+
+ install -m 0644 ${S}/src/check.h ${STAGING_INCDIR}/check.h
+ oe_libinstall -a -C src libcheck ${STAGING_LIBDIR}
+}
+
diff --git a/meta-moblin/packages/check/check_0.9.5.bb b/meta-moblin/packages/check/check_0.9.5.bb
new file mode 100644
index 0000000000..eccb8b7582
--- /dev/null
+++ b/meta-moblin/packages/check/check_0.9.5.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "a unit test framework for C"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+SECTION = "devel"
+
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/check/check-${PV}.tar.gz \
+ file://configure_fix.patch;patch=1"
+S = "${WORKDIR}/check-${PV}"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF += "--enable-plain-docdir"
+
+do_stage() {
+ autotools_stage_all
+}
+
diff --git a/meta-moblin/packages/check/files/configure_fix.patch b/meta-moblin/packages/check/files/configure_fix.patch
new file mode 100644
index 0000000000..3e79319d80
--- /dev/null
+++ b/meta-moblin/packages/check/files/configure_fix.patch
@@ -0,0 +1,12 @@
+Index: check-0.9.5/configure.ac
+===================================================================
+--- check-0.9.5.orig/configure.ac 2008-10-29 04:09:50.000000000 +0000
++++ check-0.9.5/configure.ac 2008-10-29 04:10:06.000000000 +0000
+@@ -71,6 +71,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_LN_S
+ AC_PROG_LIBTOOL
++AM_PROG_CC_C_O
+ if test -n "$GCC"; then
+ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings"
+ fi