SUMMARY = "Simple NUMA policy support" DESCRIPTION = 'It consists of a numactl program to run \ other programs with a specific NUMA policy and a libnuma shared library \ ("NUMA API") to set NUMA policy in applications.' HOMEPAGE = "http://oss.sgi.com/projects/libnuma/" SECTION = "console/utils" RDEPENDS_numactl = "libnuma" LICENSE = "GPLv2 & LGPLv2.1" LICENSE_libnuma = "GPLv2" LICENSE_numactl = "LGPLv2.1" LIC_FILES_CHKSUM = "file://libnuma.c;beginline=1;endline=17;md5=17362df5a5de121a289afcac0d30a9c6 \ file://numactl.c;beginline=1;endline=16;md5=0c0a67367b1246f7643d6bc2bfe469de" SRC_URI = "ftp://oss.sgi.com/www/projects/libnuma/download/numactl-2.0.9.tar.gz \ file://Makefile.patch \ file://regress1-parser \ file://run-ptest" SRC_URI[md5sum] = "136685c8eaf9d6569c351fe1d453b30c" SRC_URI[sha256sum] = "9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c" S = "${WORKDIR}/numactl-${PV}" EXTRA_OEMAKE = "PREFIX=${D}/usr TEST_DESTDIR=${D}${PTEST_PATH}" do_install () { oe_runmake install rmdir ${D}/usr/share/man/man2 } PACKAGES = "libnuma-dbg ${PN}-dbg ${PN} ${PN}-doc libnuma-staticdev libnuma libnuma-dev libnuma-doc" FILES_libnuma-dbg = "${libdir}/.debug" FILES_libnuma-staticdev = "${libdir}/*.a" FILES_libnuma = "${libdir}/libnuma.so.*" FILES_libnuma-dev = "${libdir} ${includedir}" FILES_libnuma-doc = "${mandir}/man3" FILES_${PN}-dbg = "${bindir}/.debug /usr/src/debug" FILES_${PN} = "${bindir}" FILES_${PN}-doc = "${mandir}/man8" inherit ptest RDEPENDS_${PN}-ptest += "make" do_install_ptest () { oe_runmake test-install install ${WORKDIR}/regress1-parser ${D}${PTEST_PATH} }