Lines 1-10
Link Here
|
1 |
# Copyright 1999-2015 Gentoo Foundation |
1 |
# Copyright 1999-2016 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
3 |
# $Id$ |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=6 |
6 |
|
6 |
|
7 |
inherit eutils |
7 |
inherit autotools eutils |
8 |
|
8 |
|
9 |
DESCRIPTION="Platform independent library providing basic system functions" |
9 |
DESCRIPTION="Platform independent library providing basic system functions" |
10 |
HOMEPAGE="http://libhx.sourceforge.net" |
10 |
HOMEPAGE="http://libhx.sourceforge.net" |
Lines 13-31
Link Here
|
13 |
LICENSE="GPL-3" |
13 |
LICENSE="GPL-3" |
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~ppc ~x86" |
15 |
KEYWORDS="~amd64 ~ppc ~x86" |
16 |
IUSE="" |
16 |
IUSE="doc" |
17 |
|
17 |
|
18 |
DEPEND="app-arch/xz-utils" |
18 |
DEPEND="app-arch/xz-utils" |
19 |
RDEPEND="" |
19 |
RDEPEND="" |
20 |
|
20 |
|
21 |
S="${WORKDIR}/libHX-${PV}" |
21 |
S="${WORKDIR}/libHX-${PV}" |
22 |
|
22 |
|
23 |
src_configure() { |
23 |
PATCHES=( "${FILESDIR}/${P}-no-lyx.patch" ) |
24 |
econf --docdir="/usr/share/doc/${PF}" |
24 |
|
|
|
25 |
src_prepare() { |
26 |
default |
27 |
eautoreconf |
25 |
} |
28 |
} |
26 |
|
29 |
|
27 |
src_install() { |
30 |
src_install() { |
28 |
default |
31 |
default |
29 |
dodoc doc/*.txt |
32 |
|
|
|
33 |
if use doc; then |
34 |
dodoc doc/*.txt |
35 |
else |
36 |
dodoc doc/changelog.txt |
37 |
rm "${D}/usr/share/doc/${PF}/"*.pdf || die |
38 |
fi |
39 |
|
30 |
prune_libtool_files --all |
40 |
prune_libtool_files --all |
31 |
} |
41 |
} |