From 1b6242fc583a6b871304fb995af6dc211b58f69b Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:48:23 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- recipes-core/numactl/numactl_2.0.9.bb | 52 +++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 recipes-core/numactl/numactl_2.0.9.bb (limited to 'recipes-core/numactl/numactl_2.0.9.bb') diff --git a/recipes-core/numactl/numactl_2.0.9.bb b/recipes-core/numactl/numactl_2.0.9.bb new file mode 100644 index 0000000..a7fee35 --- /dev/null +++ b/recipes-core/numactl/numactl_2.0.9.bb @@ -0,0 +1,52 @@ +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} +} -- cgit v1.2.3-54-g00ecf