cwautomacros: add recipe, version 20090610
authorChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 20:53:19 +0000 (13:53 -0700)
committerChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 20:54:02 +0000 (13:54 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
MAINTAINERS
recipes/cwautomacros/cwautomacros_20090610.bb [new file with mode: 0644]

index 0fd01c1..df4a26d 100644 (file)
@@ -37,7 +37,7 @@ Machines:   simpad
 Person:     Christopher Larson
 Mail:       clarson@kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
-Recipes:    gzip, lzip, ed, genromfs, which
+Recipes:    gzip, lzip, ed, genromfs, which, cwautomacros
 Classes:    autotools.bbclass
 
 Person:     Cliff Brake
diff --git a/recipes/cwautomacros/cwautomacros_20090610.bb b/recipes/cwautomacros/cwautomacros_20090610.bb
new file mode 100644 (file)
index 0000000..5cab9c8
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "a collection of autoconf m4 macros"
+HOMEPAGE = "http://cwautomacros.berlios.de/"
+LICENSE = "GPLv2+"
+PR = "0"
+
+SRC_URI = "http://download.berlios.de/cwautomacros/cwautomacros-${PV}.tar.bz2"
+SRC_URI[md5sum] = "352b295897ddb30c0d7d0acdd0b2313a"
+SRC_URI[sha256sum] = "8f683713baa63e6b5c2ea72067f77cbacf0bee7d4efa907951c6bb5ac1ffd6b0"
+
+do_compile () {
+    :
+}
+
+do_install () {
+    sed -i -e's,\$(INSTALLPREFIX)/share,${D}${datadir},g' \
+           -e's,\$(INSTALLPREFIX),${D},g' \
+           Makefile
+    make install
+    mv ${D}${datadir}/cwautomacros/m4 ${D}${datadir}/aclocal
+}
+
+NATIVE_INSTALL_WORKS = "1"
+BBCLASSEXTEND += "native nativesdk"