summaryrefslogtreecommitdiff
path: root/recipes/hfsplusutils/hfsplusutils_1.0.4-4.bb
blob: 400dc4713a9a6247d6ef85e7c36fc02cb79f62a0 (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
DESCRIPTION = "HFS plus file system utilities"
SECTION = "base"
LICENSE = "GPL"
PR = "r1"

S="${WORKDIR}/${P}"

inherit kernel-arch autotools pkgconfig

DEPENDS = " rpm2cpio-native"

SRC_URI = "http://penguinppc.org/historical/hfsplus/hfsplusutils-1.0.4-4.src.rpm \
	   file://hfsplusutils-1.0.4-errno.patch;patch=1 \
	   file://hfsplusutils-1.0.4-gcc4.patch;patch=1 \
	   file://hfsplusutils-1.0.4-glob.patch;patch=1 \
	   file://hfsplusutils-1.0.4-string.patch;patch=1 \
		"

do_unpack() {
        if ! test -f hfsplus.tz2 ; then
                rpm2cpio.pl ${DL_DIR}/${P}.src.rpm | cpio -i --make-directories
                bunzip2 hfsplus.tz2
		tar -xf hfsplus.tz2.out
		mv hfsplus ${P}
        fi
}

SRC_URI[md5sum] = "e8760b432b7e95d03158b4bbca404149"
SRC_URI[sha256sum] = "741577b91c091fc9d6732b57732bdafb85739c65cd65194e506e1d01425bda56"