diff options
Diffstat (limited to 'recipes-core/numactl/numactl_2.0.9.bb')
-rw-r--r-- | recipes-core/numactl/numactl_2.0.9.bb | 52 |
1 files changed, 52 insertions, 0 deletions
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 @@ | |||
1 | SUMMARY = "Simple NUMA policy support" | ||
2 | DESCRIPTION = 'It consists of a numactl program to run \ | ||
3 | other programs with a specific NUMA policy and a libnuma shared library \ | ||
4 | ("NUMA API") to set NUMA policy in applications.' | ||
5 | HOMEPAGE = "http://oss.sgi.com/projects/libnuma/" | ||
6 | SECTION = "console/utils" | ||
7 | |||
8 | RDEPENDS_numactl = "libnuma" | ||
9 | |||
10 | LICENSE = "GPLv2 & LGPLv2.1" | ||
11 | LICENSE_libnuma = "GPLv2" | ||
12 | LICENSE_numactl = "LGPLv2.1" | ||
13 | |||
14 | LIC_FILES_CHKSUM = "file://libnuma.c;beginline=1;endline=17;md5=17362df5a5de121a289afcac0d30a9c6 \ | ||
15 | file://numactl.c;beginline=1;endline=16;md5=0c0a67367b1246f7643d6bc2bfe469de" | ||
16 | |||
17 | SRC_URI = "ftp://oss.sgi.com/www/projects/libnuma/download/numactl-2.0.9.tar.gz \ | ||
18 | file://Makefile.patch \ | ||
19 | file://regress1-parser \ | ||
20 | file://run-ptest" | ||
21 | |||
22 | SRC_URI[md5sum] = "136685c8eaf9d6569c351fe1d453b30c" | ||
23 | SRC_URI[sha256sum] = "9ca033e6c14c0f26c20379b0cf9299429fd5a354a79c3c7880fd41ef69f7751c" | ||
24 | |||
25 | S = "${WORKDIR}/numactl-${PV}" | ||
26 | |||
27 | EXTRA_OEMAKE = "PREFIX=${D}/usr TEST_DESTDIR=${D}${PTEST_PATH}" | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake install | ||
31 | rmdir ${D}/usr/share/man/man2 | ||
32 | } | ||
33 | |||
34 | PACKAGES = "libnuma-dbg ${PN}-dbg ${PN} ${PN}-doc libnuma-staticdev libnuma libnuma-dev libnuma-doc" | ||
35 | |||
36 | FILES_libnuma-dbg = "${libdir}/.debug" | ||
37 | FILES_libnuma-staticdev = "${libdir}/*.a" | ||
38 | FILES_libnuma = "${libdir}/libnuma.so.*" | ||
39 | FILES_libnuma-dev = "${libdir} ${includedir}" | ||
40 | FILES_libnuma-doc = "${mandir}/man3" | ||
41 | |||
42 | FILES_${PN}-dbg = "${bindir}/.debug /usr/src/debug" | ||
43 | FILES_${PN} = "${bindir}" | ||
44 | FILES_${PN}-doc = "${mandir}/man8" | ||
45 | |||
46 | inherit ptest | ||
47 | RDEPENDS_${PN}-ptest += "make" | ||
48 | |||
49 | do_install_ptest () { | ||
50 | oe_runmake test-install | ||
51 | install ${WORKDIR}/regress1-parser ${D}${PTEST_PATH} | ||
52 | } | ||