summaryrefslogtreecommitdiff
path: root/packages/squashfs-tools/squashfs-tools_3.1r2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squashfs-tools/squashfs-tools_3.1r2.bb')
-rw-r--r--packages/squashfs-tools/squashfs-tools_3.1r2.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/packages/squashfs-tools/squashfs-tools_3.1r2.bb b/packages/squashfs-tools/squashfs-tools_3.1r2.bb
new file mode 100644
index 0000000000..a4edad97b1
--- /dev/null
+++ b/packages/squashfs-tools/squashfs-tools_3.1r2.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux."
+SECTION = "base"
+LICENSE = "GPLv2"
+PR = "r1"
+
+DEPENDS = "zlib"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz \
+ file://Makefile-3.1.patch;patch=1"
+
+S = "${WORKDIR}/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}/squashfs-tools"
+
+prefix = ""
+
+do_compile() {
+ oe_runmake mksquashfs
+}
+
+do_install () {
+ install -d ${D}${sbindir}
+ install -m 0755 mksquashfs ${D}${sbindir}/
+}