Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit autotools eutils toolchain-funcs multilib |
7 |
inherit autotools eutils toolchain-funcs multilib-minimal |
8 |
|
8 |
|
9 |
DESCRIPTION="Utilities and libraries for NUMA systems" |
9 |
DESCRIPTION="Utilities and libraries for NUMA systems" |
10 |
HOMEPAGE="http://oss.sgi.com/projects/libnuma/" |
10 |
HOMEPAGE="http://oss.sgi.com/projects/libnuma/" |
Lines 16-21
Link Here
|
16 |
KEYWORDS="~amd64 -arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
16 |
KEYWORDS="~amd64 -arm ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
17 |
IUSE="" |
17 |
IUSE="" |
18 |
|
18 |
|
|
|
19 |
ECONF_SOURCE=${S} |
20 |
|
19 |
src_prepare() { |
21 |
src_prepare() { |
20 |
eautoreconf |
22 |
eautoreconf |
21 |
epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238 |
23 |
epatch "${FILESDIR}"/${PN}-2.0.8-cpuid-pic.patch #456238 |
Lines 31-39
Link Here
|
31 |
fi |
33 |
fi |
32 |
} |
34 |
} |
33 |
|
35 |
|
34 |
src_install() { |
36 |
multilib_src_compile() { |
|
|
37 |
multilib_is_native_abi && default || emake libnuma.la |
38 |
} |
39 |
|
40 |
multilib_src_install() { |
41 |
emake DESTDIR="${D}" install$(multilib_is_native_abi || echo "-libLTLIBRARIES install-includeHEADERS") |
42 |
} |
43 |
|
44 |
multilib_src_install_all() { |
35 |
DOCS=( README TODO CHANGES DESIGN ) |
45 |
DOCS=( README TODO CHANGES DESIGN ) |
36 |
default |
46 |
einstalldocs |
37 |
# delete man pages provided by the man-pages package #238805 |
47 |
# delete man pages provided by the man-pages package #238805 |
38 |
rm -r "${ED}"/usr/share/man/man[25] || die |
48 |
rm -r "${ED}"/usr/share/man/man[25] || die |
39 |
} |
49 |
} |