summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-31 16:26:34 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-31 16:26:34 +0200
commit0ec338fb847f38ada621fe7fa9ccfe8a0a4786de (patch)
tree9c90d6791fea7779bd13b1b9b1624f6618fd7761
parent901e7c5b47b9f3695cef841e6c8663d37c932fec (diff)
check: add 0.9.5 (from poky)
-rw-r--r--recipes/check/check_0.9.5.bb14
-rw-r--r--recipes/check/files/configure_fix.patch12
2 files changed, 26 insertions, 0 deletions
diff --git a/recipes/check/check_0.9.5.bb b/recipes/check/check_0.9.5.bb
new file mode 100644
index 0000000000..45864ea4cb
--- /dev/null
+++ b/recipes/check/check_0.9.5.bb
@@ -0,0 +1,14 @@
+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_stage pkgconfig
+
+EXTRA_OECONF += "--enable-plain-docdir"
diff --git a/recipes/check/files/configure_fix.patch b/recipes/check/files/configure_fix.patch
new file mode 100644
index 0000000000..3e79319d80
--- /dev/null
+++ b/recipes/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