From 303b525328010310eefdcd90e0ad54d3e5fd1df7 Mon Sep 17 00:00:00 2001 From: Kishore Bodke Date: Fri, 30 Nov 2012 12:15:07 -0800 Subject: meta-intel/common: Add Corpus recipes to common Moved corpus recipes to common as this will be used by multiple BSPs. Signed-off-by: Kishore Bodke Signed-off-by: Tom Zanussi --- .../calgary-corpus/calgary-corpus.bb | 25 ++++++++++++++++ .../canterbury-corpus/canterbury-corpus.bb | 35 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 common/recipes-corpus/calgary-corpus/calgary-corpus.bb create mode 100644 common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb (limited to 'common/recipes-corpus') diff --git a/common/recipes-corpus/calgary-corpus/calgary-corpus.bb b/common/recipes-corpus/calgary-corpus/calgary-corpus.bb new file mode 100644 index 00000000..5d2c66df --- /dev/null +++ b/common/recipes-corpus/calgary-corpus/calgary-corpus.bb @@ -0,0 +1,25 @@ +SUMMARY = "Set of files for testing losless compression algorithms" +DESCRIPTION = "Set of files for testing losless compression algorithms" +HOMEPAGE = "http://corpus.canterbury.ac.nz" +SECTION = "misc" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +S = "${WORKDIR}/corpus" + +SRC_URI = "http://corpus.canterbury.ac.nz/resources/calgary.tar.gz" + +SRC_URI[md5sum] = "651d06b35d3d39522157cf8dc4a3d01c" +SRC_URI[sha256sum] = "e109eebdc19c5cee533c58bd6a49a4be3a77cc52f84ba234a089148a4f2093b7" + +do_unpack () { + mkdir -p ${S} + tar -xf ${DL_DIR}/calgary.tar.gz -C ${WORKDIR}/corpus +} + +FILES_${PN} = "/lib/firmware/*" + +do_install () { + install -d ${D}/lib/firmware + install -m 664 ${S}/* ${D}/lib/firmware +} diff --git a/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb new file mode 100644 index 00000000..eb5afad6 --- /dev/null +++ b/common/recipes-corpus/canterbury-corpus/canterbury-corpus.bb @@ -0,0 +1,35 @@ +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" + +WARN_QA += "arch" +ERROR_QA = "" + +do_package_qa[noexec] = "1" + +do_unpack () { + mkdir -p ${S} + tar -xf ${DL_DIR}/cantrbry.tar.gz -C ${S} +} + +FILES_${PN} = "/lib/firmware/*" + +do_install () { + install -d ${D}${base_libdir}/firmware + install -m 644 ${S}/* ${D}${base_libdir}/firmware +} -- cgit v1.2.3-54-g00ecf