squashfs-tools: Switch to BBCLASSEXTEND, drop legacy staging, bump PR
[openembedded.git] / recipes / squashfs-tools / squashfs-tools.inc
blobceb02562a365c9c21f76fd6920ec01f369c63d3f
1 DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux."
2 SECTION = "base"
3 LICENSE = "GPLv2"
4 DEPENDS = "attr zlib"
5 INC_PR = "r5"
7 S = "${WORKDIR}/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}/squashfs-tools"
9 BBCLASSEXTEND = "native"
10 NATIVE_INSTALL_WORKS = "1"
12 # required to share same place with -lzma specific packages
13 FILESPATHPKG =. "squashfs-tools-${PV}:"
15 SRC_URI ?= "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz"
17 prefix = ""
19 do_compile() {
20         oe_runmake mksquashfs
23 do_install () {
24         install -d ${D}${sbindir}
25         install -m 0755 mksquashfs ${D}${sbindir}/