diff options
author | Qian Lei <qianl.fnst@cn.fujitsu.com> | 2014-12-19 11:35:06 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-12-31 16:38:22 +0100 |
commit | 2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34 (patch) | |
tree | 1a936b43ed77f490eb10ecdbd98c9fbfdf186f41 | |
parent | cdd57fd84e90671a41e9ab32b42c623c4ce8507b (diff) | |
download | meta-openembedded-2ea3a19a478c526baa04d6b9a9e8c9f42aae9d34.tar.gz |
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.bb | 23 |
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 000000000..a3b67f7e8 --- /dev/null +++ b/meta-oe/recipes-support/ctapi-common/ctapi-common_1.1-11.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | SUMMARY = "Common files and packaging infrastructure for CT-API modules" | ||
2 | HOMEPAGE = "http://fedoraproject.org/" | ||
3 | SECTION = "System Environment/Libraries" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://../ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a" | ||
6 | |||
7 | SRC_URI = "http://ftp.riken.jp/Linux/fedora/releases/20/Fedora/source/SRPMS/c/${BPN}-${PV}.fc20.src.rpm;extract=ctapi-common.LICENSE \ | ||
8 | http://ftp.riken.jp/Linux/fedora/releases/20/Fedora/source/SRPMS/c/${BPN}-${PV}.fc20.src.rpm;extract=ctapi-common.README" | ||
9 | SRC_URI[md5sum] = "f02e67487c48319376800563a2659502" | ||
10 | SRC_URI[sha256sum] = "32399819b0a1cac1abb2b8f0f180c572c93809faad36c46825dd536e4844c7cf" | ||
11 | |||
12 | do_compile() { | ||
13 | install -pm 644 ${WORKDIR}/ctapi-common.LICENSE LICENSE | ||
14 | install -pm 644 ${WORKDIR}/ctapi-common.README README | ||
15 | echo ${libdir}/ctapi > ctapi.conf | ||
16 | } | ||
17 | |||
18 | do_install() { | ||
19 | install -Dpm 644 ctapi.conf ${D}${sysconfdir}/ld.so.conf.d/ctapi-${TARGET_ARCH}.conf | ||
20 | install -dm 755 ${D}${libdir}/ctapi | ||
21 | } | ||
22 | |||
23 | FILES_${PN} += "${libdir}/ctapi" | ||