diff options
Diffstat (limited to 'recipes/squashfs-tools/squashfs-tools.inc')
-rw-r--r-- | recipes/squashfs-tools/squashfs-tools.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/squashfs-tools/squashfs-tools.inc b/recipes/squashfs-tools/squashfs-tools.inc new file mode 100644 index 0000000000..f27d9ec79a --- /dev/null +++ b/recipes/squashfs-tools/squashfs-tools.inc @@ -0,0 +1,18 @@ +DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux." +SECTION = "base" +LICENSE = "GPLv2" + +DEPENDS = "zlib" + +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}/ +} |