Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.LICENSE \ |
| 8 | http://ftp.riken.jp/Linux/fedora/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README" |
| 9 | SRC_URI[md5sum] = "5b7259ef1c8cd9ae801fca7a5cb548c1" |
| 10 | SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91" |
| 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" |