genromfs: add recipes, version 0.5.2 and git
authorChris Larson <chris_larson@mentor.com>
Tue, 26 Oct 2010 20:29:38 +0000 (13:29 -0700)
committerChris Larson <chris_larson@mentor.com>
Tue, 26 Oct 2010 22:34:08 +0000 (15:34 -0700)
Also mark myself as the maintainer of this.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
MAINTAINERS
recipes/genromfs/genromfs.inc [new file with mode: 0644]
recipes/genromfs/genromfs_0.5.2.bb [new file with mode: 0644]
recipes/genromfs/genromfs_git.bb [new file with mode: 0644]

index 3b45cdd..e7ec4ee 100644 (file)
@@ -37,7 +37,7 @@ Machines:   simpad
 Person:     Christopher Larson
 Mail:       clarson@kergoth.com
 Recipes:    autoconf, automake, libtool, gnu-config
-Recipes:    autotools*.bbclass, gzip, lzip, ed
+Recipes:    autotools*.bbclass, gzip, lzip, ed, genromfs
 
 Person:     Cliff Brake
 Mail:       cbrake@bec-systems.com
diff --git a/recipes/genromfs/genromfs.inc b/recipes/genromfs/genromfs.inc
new file mode 100644 (file)
index 0000000..3f76514
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "genromfs generates romfs filesystem images"
+HOMEPAGE = "http://jf.koan19.org/dev/romfs/"
+LICENSE = "GPLv2+"
+INC_PR = "0"
+
+EXTRA_OEMAKE = '\
+    "CC=${CC}" \
+    "LDFLAGS=${LDFLAGS}" \
+    "prefix=${prefix}" \
+    "bindir=${bindir}" \
+    "mandir=${mandir}" \
+'
+
+do_compile () {
+    oe_runmake 'CFLAGS=${CFLAGS} -DVERSION=\"$(VERSION)\"'
+}
+
+do_install () {
+    oe_runmake 'PREFIX=${D}' install
+}
+
+BBCLASSEXTEND += "native nativesdk"
diff --git a/recipes/genromfs/genromfs_0.5.2.bb b/recipes/genromfs/genromfs_0.5.2.bb
new file mode 100644 (file)
index 0000000..77df775
--- /dev/null
@@ -0,0 +1,7 @@
+require genromfs.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/romfs/genromfs-0.5.2.tar.gz"
+SRC_URI[md5sum] = "2a91463c56f9e042edc330c063a0cf5a"
+SRC_URI[sha256sum] = "30f37fc734572c1dbaa2504585bc23ba6b8fd7df767ae7155995b2ca0ebed960"
diff --git a/recipes/genromfs/genromfs_git.bb b/recipes/genromfs/genromfs_git.bb
new file mode 100644 (file)
index 0000000..3d342f5
--- /dev/null
@@ -0,0 +1,8 @@
+require genromfs.inc
+
+SRCREV = "3b02d7a"
+PV = "0.0+git${SRCREV}"
+PR = "${INC_PR}.0"
+
+SRC_URI = "git://github.com/chexum/genromfs;protocol=git;branch=master"
+S = "${WORKDIR}/git"