aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKishore Bodke <kishore.k.bodke@intel.com>2012-09-19 15:34:45 -0700
committerTom Zanussi <tom.zanussi@intel.com>2012-09-25 23:23:25 -0500
commitc0242a374d55d5b2207e2f75749cfe9c177a7876 (patch)
treef64e3c9325f8bc6a29febfe75bc464f1e049f14f
parent91f82d8c1e255e3c5db8132e116f94a14a9301c0 (diff)
downloadmeta-intel-c0242a374d55d5b2207e2f75749cfe9c177a7876.tar.gz
meta-intel-c0242a374d55d5b2207e2f75749cfe9c177a7876.tar.bz2
meta-intel-c0242a374d55d5b2207e2f75749cfe9c177a7876.zip
meta-crystalforest: Add Silesia Corpus recipe.
Add a new recipe Silesia Corpus for testing with another Data Compression algorithm for Crystal Forest BSP. Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com>
-rw-r--r--meta-crystalforest/recipes-corpus/silesia-corpus/silesia-corpus.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-crystalforest/recipes-corpus/silesia-corpus/silesia-corpus.bb b/meta-crystalforest/recipes-corpus/silesia-corpus/silesia-corpus.bb
new file mode 100644
index 00000000..28bc3753
--- /dev/null
+++ b/meta-crystalforest/recipes-corpus/silesia-corpus/silesia-corpus.bb
@@ -0,0 +1,32 @@
+SUMMARY = "The Data Compression Resource on the Internet"
+DESCRIPTION = "The intention of the Silesia corpus is to provide a data set of files \
+ that covers the typical data types used nowadays. \
+ The sizes of the files are between 6 MB and 51 MB."
+
+HOMEPAGE = "http://www.data-compression.info/index.htm"
+SECTION = "misc"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+PR="r0"
+
+S = "${WORKDIR}/silesia-corpus"
+
+SRC_URI = "http://sun.aei.polsl.pl/~sdeor/corpus/silesia.zip"
+
+SRC_URI[md5sum] = "c240c17d6805fb8a0bde763f1b94cd99"
+SRC_URI[sha256sum] = "0626e25f45c0ffb5dc801f13b7c82a3b75743ba07e3a71835a41e3d9f63c77af"
+
+do_unpack () {
+ mkdir -p ${S}
+ cp ${DL_DIR}/silesia.zip ${S}
+ cd ${S} && unzip silesia.zip
+}
+
+do_install () {
+
+ install -d ${D}${base_libdir}/firmware
+ install -m 664 ${S}/* ${D}${base_libdir}/firmware
+}
+
+FILES_${PN} = "/lib/firmware/*"