Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.19-r1.ebuild,v 1.10 2014/01/18 19:59:29 ago Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatasmart/libatasmart-0.19-r1.ebuild,v 1.10 2014/01/18 19:59:29 ago Exp $ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
inherit eutils |
6 |
inherit autotools eutils toolchain-funcs |
7 |
|
7 |
|
8 |
PATCH_LEVEL=2 |
8 |
PATCH_LEVEL=2 |
9 |
|
9 |
|
Lines 28-36
Link Here
|
28 |
local d="${WORKDIR}"/debian/patches |
28 |
local d="${WORKDIR}"/debian/patches |
29 |
sed -i -e '/#/d' "${d}"/series || die |
29 |
sed -i -e '/#/d' "${d}"/series || die |
30 |
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series) |
30 |
EPATCH_SOURCE="${d}" epatch $(<"${d}"/series) |
|
|
31 |
|
32 |
# Fix cross-compiling |
33 |
# https://bugs.freedesktop.org/show_bug.cgi?id=60364 |
34 |
sed -i "s/AM_//" strpool/Makefile.am || die |
35 |
eautomake |
31 |
} |
36 |
} |
32 |
|
37 |
|
33 |
src_configure() { |
38 |
src_configure() { |
|
|
39 |
tc-export_build_env |
40 |
|
34 |
econf \ |
41 |
econf \ |
35 |
--docdir=/usr/share/doc/${PF} \ |
42 |
--docdir=/usr/share/doc/${PF} \ |
36 |
$(use_enable static-libs static) |
43 |
$(use_enable static-libs static) |