blob: 0e994d8b09438fd7f3b7b22d77911750b3d89765 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Common files and packaging infrastructure for CT-API modules"
2HOMEPAGE = "http://fedoraproject.org/"
3SECTION = "System Environment/Libraries"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://../ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a"
6
Patrick Williamsb542dec2023-06-09 01:26:37 -05007SRC_URI = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.LICENSE \
8 https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README"
9SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91"
Patrick Williamsddad1a12017-02-23 20:36:32 -060010
11do_compile() {
12 install -pm 644 ${WORKDIR}/ctapi-common.LICENSE LICENSE
13 install -pm 644 ${WORKDIR}/ctapi-common.README README
14 echo ${libdir}/ctapi > ctapi.conf
15}
16
17do_install() {
18 install -Dpm 644 ctapi.conf ${D}${sysconfdir}/ld.so.conf.d/ctapi-${TARGET_ARCH}.conf
19 install -dm 755 ${D}${libdir}/ctapi
20}
21
Patrick Williams213cb262021-08-07 19:21:33 -050022FILES:${PN} += "${libdir}/ctapi"