aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishore Bodke <kishore.k.bodke@intel.com>2012-09-19 15:23:18 -0700
committerTom Zanussi <tom.zanussi@intel.com>2012-09-25 23:23:17 -0500
commit9bad3a4e3cd485b7746db3c23eaa3307c56374cf (patch)
treea01be91b9deddb99f1cd8165eef455e37ce613fa
parent102814d8ba2735d1e24c75b297508f863da9915e (diff)
downloadmeta-intel-9bad3a4e3cd485b7746db3c23eaa3307c56374cf.tar.gz
meta-intel-9bad3a4e3cd485b7746db3c23eaa3307c56374cf.tar.bz2
meta-intel-9bad3a4e3cd485b7746db3c23eaa3307c56374cf.zip
meta-crystalforest: Add Calgary Corpus recipe.
Add a new recipe Calgary Corpus for Crystal Forest BSP for testing the lossless compression algorithms. Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
-rw-r--r--meta-crystalforest/recipes-corpus/calgary-corpus/calgary-corpus.bb25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-corpus/calgary-corpus/calgary-corpus.bb b/meta-crystalforest/recipes-corpus/calgary-corpus/calgary-corpus.bb
new file mode 100644
index 00000000..5d2c66df
--- /dev/null
+++ b/meta-crystalforest/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
+}