1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils xdg-utils
9 DESCRIPTION="An interface library to access tags for identifying languages"
10 HOMEPAGE="https://tagoh.bitbucket.org/liblangtag/"
11 SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2"
13 LICENSE="|| ( LGPL-3 MPL-2.0 )"
15 KEYWORDS="~amd64 ~arm ~ppc ~x86"
16 IUSE="debug doc introspection static-libs test"
20 introspection? ( dev-libs/gobject-introspection )
24 doc? ( dev-util/gtk-doc )
25 introspection? ( dev-libs/gobject-introspection-common )
26 test? ( dev-libs/check )
29 # Upstream expect liblangtag to be installed when one runs tests...
35 if [[ -d docs/html ]]; then
36 rm -r docs/html || die "Failed to remove existing gtk-doc"
43 $(use_enable doc gtk-doc) \
44 $(use_enable introspection) \
45 $(use_enable static-libs static) \
51 prune_libtool_files --all