Patchwork [1/1] squashfs: New recipe

login
register
mail settings
Submitter Kim B√łndergaard
Date June 24, 2013, 12:34 p.m.
Message ID <4ae43f84ec7f7e1495200779c430599ea1b5ff34.1372077213.git.kibo@prevas.dk>
Download mbox | patch
Permalink /patch/253816/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Kim B√łndergaard - June 24, 2013, 12:34 p.m.
---
 recipes/squashfs/squashfs.inc        | 20 ++++++++++++++++++++
 recipes/squashfs/squashfs_4.2.oe     |  1 +
 recipes/squashfs/squashfs_4.2.oe.sig |  1 +
 3 files changed, 22 insertions(+)
 create mode 100644 recipes/squashfs/squashfs.inc
 create mode 100644 recipes/squashfs/squashfs_4.2.oe
 create mode 100644 recipes/squashfs/squashfs_4.2.oe.sig
Esben Haabendal - July 3, 2013, 7:16 a.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/squashfs/squashfs.inc b/recipes/squashfs/squashfs.inc
new file mode 100644
index 0000000..7459483
--- /dev/null
+++ b/recipes/squashfs/squashfs.inc
@@ -0,0 +1,20 @@ 
+# -*- mode:python; -*-
+DESCRIPTION = "A tool to generate squashfs filesystem as a normal (non-root) user."
+LICENSE = "GPL"
+
+inherit make c
+
+DEPENDS += "zlib"
+
+require conf/fetch/sourceforge.conf
+SRC_URI = "http://downloads.sourceforge.net/project/squashfs/squashfs/squashfs${PV}/squashfs${PV}.tar.gz"
+
+S = "${SRCDIR}/squashfs4.2/squashfs-tools/"
+
+RECIPE_TYPES = "machine native sdk"
+
+do_install() {
+  mkdir -p ${D}/bin/
+  install -m 0755 ${S}/mksquashfs ${D}/bin/
+  install -m 0755 ${S}/unsquashfs ${D}/bin/
+}
diff --git a/recipes/squashfs/squashfs_4.2.oe b/recipes/squashfs/squashfs_4.2.oe
new file mode 100644
index 0000000..a6bdc0c
--- /dev/null
+++ b/recipes/squashfs/squashfs_4.2.oe
@@ -0,0 +1 @@ 
+require squashfs.inc
diff --git a/recipes/squashfs/squashfs_4.2.oe.sig b/recipes/squashfs/squashfs_4.2.oe.sig
new file mode 100644
index 0000000..a3c3a86
--- /dev/null
+++ b/recipes/squashfs/squashfs_4.2.oe.sig
@@ -0,0 +1 @@ 
+e0944471ff68e215d3fecd464f30ea6ceb635fd7  squashfs4.2.tar.gz