summaryrefslogtreecommitdiff
path: root/packages/squashfs-tools/squashfs-lzma-tools_3.1r2.bb
blob: 76abae1563cc298c5a65c3b912e6c2fbb84b7cc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Squashfs is a highly compressed read-only filesystem for Linux."
SECTION = "base"
LICENSE = "GPLv2"
DEPENDS = "lzma"
FILE_PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz \
	   file://Makefile-3.1.patch;patch=1 \
           file://squashfs3.1r2-tools-replace_zlib_with_lzma.patch;patch=1 \
           file://squashfs3.1r2-tools-lzma_Makefile.patch;patch=1"

S = "${WORKDIR}/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}/squashfs-tools"

prefix = ""

do_compile() {
	oe_runmake mksquashfs-lzma
}

do_install () {
	install -d ${D}${sbindir}
	install -m 0755 mksquashfs-lzma ${D}${sbindir}/
}