summaryrefslogtreecommitdiffstats
path: root/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb
blob: 97f3b855a1d9a91a018159f4cd07bce2f1c1ddbe (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
31
32
33
34
35
36
37
38
SUMMARY = "Intel Quick Assist Driver - Canterbury Corpus"
DESCRIPTION = "Set of files for testing losless compression algorithms \
		for Intel Crystal Forest BSP Quick Assist Technology Software Package"

HOMEPAGE = "http://corpus.canterbury.ac.nz"
SECTION = "misc"
LICENSE = "GPLv2"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

PR = "r0"

S = "${WORKDIR}/canterbury-corpus"

SRC_URI = "http://corpus.canterbury.ac.nz/resources/cantrbry.tar.gz"

SRC_URI[md5sum] = "442e56cfffdf460d25b0b91650a55908"
SRC_URI[sha256sum] = "f140e8a5b73d3f53198555a63bfb827889394a42f20825df33c810c3d5e3f8fb"

do_unpack () {
	mkdir -p ${S}
	tar -xf ${DL_DIR}/cantrbry.tar.gz -C ${S}
}

do_unpack_append () {
	rm -rf ${S}/patches
}

FILES_${PN} = "/lib/firmware/*"

do_install () {
	install -d ${D}${base_libdir}/firmware
	install -m 644 ${S}/* ${D}${base_libdir}/firmware
}

# The corpus contains Sparc binaries with unexpected symbol hash tables, so
# silence the QA tests that will otherwise emit errors.
INSANE_SKIP_${PN} = "arch ldflags"