summaryrefslogtreecommitdiff
path: root/packages/squashfs-tools/squashfs-tools_2.0r2.bb
blob: 4d2bc42a6715001f4a8ee033b9f8b19db8e8bb82 (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."
DEPENDS = "lzma"
SECTION = "base"
LICENSE = "GPLv2"
FILE_PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/squashfs/squashfs${@bb.data.getVar('PV',d,1).replace('r','-r')}.tar.gz \
	   file://flags.patch;patch=1 \
	   file://squashfs2.0-tools-lzma.patch;patch=1"
S = "${WORKDIR}/squashfs${PV}/squashfs-tools"

prefix = ""

do_compile() {
	oe_runmake
	oe_runmake mksquashfs-lzma
}

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