1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit linux-info toolchain-funcs eutils
8 if [[ ${PV} == "9999" ]]; then
9 EGIT_REPO_URI="https://pagure.io/numad.git"
12 HASH="334278ff3d774d105939743436d7378a189e8693"
13 SRC_URI="mirror://gentoo/numad-0.5-${HASH:0:7}.tar.bz2"
14 KEYWORDS="~amd64 -arm ~arm64 -s390 ~x86"
15 S="${WORKDIR}/${PN}-${HASH:0:7}"
18 DESCRIPTION="The NUMA daemon that manages application locality"
19 HOMEPAGE="http://fedoraproject.org/wiki/Features/numad"
25 CONFIG_CHECK="~NUMA ~CPUSETS"
28 epatch "${FILESDIR}"/0001-Fix-man-page-directory-creation.patch
29 epatch "${FILESDIR}"/${PN}-0.5-ldlibs.patch #505760
34 emake CFLAGS="${CFLAGS} -std=gnu99"
38 emake prefix="${ED}/usr" install