summaryrefslogtreecommitdiff
path: root/recipes/cramfs/cramfs-native_1.1.bb
blob: 7a0e7cbd4a1915dffaab21d2782e097714f502ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/cramfs"

DESCRIPTION="Builds cramfs filesystems for embedded systems"
SECTION = "base"
LICENSE="GPL"

PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/cramfs/cramfs-1.1.tar.gz \
	file://makefile.patch;patch=1 \
	file://cramfs-andersee.patch;patch=1"

DEPENDS = "zlib-native"

S = "${WORKDIR}/cramfs-${PV}"

inherit native

do_compile() {
	oe_runmake all
}

do_stage() {
	install -m 755 mkcramfs ${STAGING_BINDIR}
	install -m 755 cramfsck ${STAGING_BINDIR}
}


SRC_URI[md5sum] = "d3912b9f7bf745fbfea68f6a9b9de30f"
SRC_URI[sha256sum] = "133caca2c4e7c64106555154ee0ff693f5cf5beb9421ce2eb86baee997d22368"