diff mbox

[1/1] squashfs: New recipe

Message ID 4ae43f84ec7f7e1495200779c430599ea1b5ff34.1372077213.git.kibo@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

Kim Bøndergaard June 24, 2013, 12:34 p.m. UTC
---
 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

Comments

Esben Haabendal July 3, 2013, 7:16 a.m. UTC | #1
Merged to master, thanks.

/Esben
diff mbox

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