1*4882a593SmuzhiyunSUMMARY = "Common files and packaging infrastructure for CT-API modules" 2*4882a593SmuzhiyunHOMEPAGE = "http://fedoraproject.org/" 3*4882a593SmuzhiyunSECTION = "System Environment/Libraries" 4*4882a593SmuzhiyunLICENSE = "MIT" 5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://../ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a" 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunSRC_URI = "http://ftp.riken.jp/Linux/fedora/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.LICENSE \ 8*4882a593Smuzhiyun http://ftp.riken.jp/Linux/fedora/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README" 9*4882a593SmuzhiyunSRC_URI[md5sum] = "5b7259ef1c8cd9ae801fca7a5cb548c1" 10*4882a593SmuzhiyunSRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91" 11*4882a593Smuzhiyun 12*4882a593Smuzhiyundo_compile() { 13*4882a593Smuzhiyun install -pm 644 ${WORKDIR}/ctapi-common.LICENSE LICENSE 14*4882a593Smuzhiyun install -pm 644 ${WORKDIR}/ctapi-common.README README 15*4882a593Smuzhiyun echo ${libdir}/ctapi > ctapi.conf 16*4882a593Smuzhiyun} 17*4882a593Smuzhiyun 18*4882a593Smuzhiyundo_install() { 19*4882a593Smuzhiyun install -Dpm 644 ctapi.conf ${D}${sysconfdir}/ld.so.conf.d/ctapi-${TARGET_ARCH}.conf 20*4882a593Smuzhiyun install -dm 755 ${D}${libdir}/ctapi 21*4882a593Smuzhiyun} 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunFILES:${PN} += "${libdir}/ctapi" 24