aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQian Lei <qianl.fnst@cn.fujitsu.com>2014-12-19 11:35:06 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-31 16:38:22 +0100
commit2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34 (patch)
tree1a936b43ed77f490eb10ecdbd98c9fbfdf186f41
parentcdd57fd84e90671a41e9ab32b42c623c4ce8507b (diff)
downloadmeta-openembedded-contrib-2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34.tar.gz
meta-openembedded-contrib-2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34.tar.bz2
meta-openembedded-contrib-2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34.zip
ctapi-common: Add new recipe
ctapi-common provides common files and packaging infrastructure for CT-API modules. Port from fedora 20. Signed-off-by: Qian Lei <qianl.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-11.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-11.bb b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-11.bb
new file mode 100644
index 0000000000..a3b67f7e8c
--- /dev/null
+++ b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-11.bb
@@ -0,0 +1,23 @@
+SUMMARY = "Common files and packaging infrastructure for CT-API modules"
+HOMEPAGE = "http://fedoraproject.org/"
+SECTION = "System Environment/Libraries"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://../ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a"
+
+SRC_URI = "http://ftp.riken.jp/Linux/fedora/releases/20/Fedora/source/SRPMS/c/${BPN}-${PV}.fc20.src.rpm;extract=ctapi-common.LICENSE \
+ http://ftp.riken.jp/Linux/fedora/releases/20/Fedora/source/SRPMS/c/${BPN}-${PV}.fc20.src.rpm;extract=ctapi-common.README"
+SRC_URI[md5sum] = "f02e67487c48319376800563a2659502"
+SRC_URI[sha256sum] = "32399819b0a1cac1abb2b8f0f180c572c93809faad36c46825dd536e4844c7cf"
+
+do_compile() {
+ install -pm 644 ${WORKDIR}/ctapi-common.LICENSE LICENSE
+ install -pm 644 ${WORKDIR}/ctapi-common.README README
+ echo ${libdir}/ctapi > ctapi.conf
+}
+
+do_install() {
+ install -Dpm 644 ctapi.conf ${D}${sysconfdir}/ld.so.conf.d/ctapi-${TARGET_ARCH}.conf
+ install -dm 755 ${D}${libdir}/ctapi
+}
+
+FILES_${PN} += "${libdir}/ctapi"