Patchwork [meta-oe,v2] cramfs: download source tarball from http server instead of cvs server

login
register
mail settings
Submitter Zhenhua Luo
Date Dec. 5, 2012, 10:53 a.m.
Message ID <1354704813-5779-1-git-send-email-b19537@freescale.com>
Download mbox | patch
Permalink /patch/40407/
State Accepted
Commit d348277d9d25c4a9ef0b390c3d04dfc19063cf3b
Headers show

Comments

Zhenhua Luo - Dec. 5, 2012, 10:53 a.m.
Signed-off-by: Zhenhua Luo <b19537@freescale.com>
---
 meta-oe/recipes-support/cramfs/cramfs_1.1.bb |   29 +++++++++++++++++++++++++
 meta-oe/recipes-support/cramfs/cramfs_cvs.bb |   30 --------------------------
 2 files changed, 29 insertions(+), 30 deletions(-)
 create mode 100644 meta-oe/recipes-support/cramfs/cramfs_1.1.bb
 delete mode 100644 meta-oe/recipes-support/cramfs/cramfs_cvs.bb

Patch

diff --git a/meta-oe/recipes-support/cramfs/cramfs_1.1.bb b/meta-oe/recipes-support/cramfs/cramfs_1.1.bb
new file mode 100644
index 0000000..aa397a9
--- /dev/null
+++ b/meta-oe/recipes-support/cramfs/cramfs_1.1.bb
@@ -0,0 +1,29 @@ 
+DESCRIPTION = "Builds cramfs filesystems for embedded systems"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
+DEPENDS = "zlib"
+
+PE = "1"
+
+SRC_URI = "http://sourceforge.net/projects/cramfs/files/cramfs/1.1/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "d3912b9f7bf745fbfea68f6a9b9de30f"
+SRC_URI[sha256sum] = "133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368"
+
+EXTRA_OEMAKE = "\
+    'CC=${CC}' \
+    'CFLAGS=${CFLAGS}' \
+    'LDFLAGS=${LDFLAGS}' \
+"
+
+do_compile_prepend() {
+        ln -sf GNUmakefile Makefile
+}
+
+do_install() {
+	install -d ${D}${bindir}
+	install mkcramfs ${D}${bindir}
+	install cramfsck ${D}${bindir}
+}
+
+BBCLASSEXTEND = "native"
diff --git a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb b/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
deleted file mode 100644
index d9b6c06..0000000
--- a/meta-oe/recipes-support/cramfs/cramfs_cvs.bb
+++ /dev/null
@@ -1,30 +0,0 @@ 
-DESCRIPTION = "Builds cramfs filesystems for embedded systems"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/linux/COPYING;md5=9579385572eb40eded61dcb07e0038a4"
-DEPENDS = "zlib"
-SRCDATE = "20110110"
-PV = "1.1+cvs${SRCDATE}"
-PR = "r1"
-
-SRC_URI = "cvs://anonymous@cramfs.cvs.sourceforge.net/cvsroot/cramfs;module=linux"
-S = "${WORKDIR}/linux/scripts/cramfs"
-
-EXTRA_OEMAKE = "\
-    'CC=${CC}' \
-    'CFLAGS=${CFLAGS}' \
-    'LDFLAGS=${LDFLAGS}' \
-"
-
-
-do_compile_prepend() {
-        ln -sf GNUmakefile Makefile
-}
-
-do_install() {
-	install -d ${D}${bindir}
-	install mkcramfs ${D}${bindir}
-	install cramfsck ${D}${bindir}
-}
-
-BBCLASSEXTEND = "native"
-