1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit xdg-utils autotools-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-1.1 )"
15 KEYWORDS="amd64 ~arm ~ppc x86"
16 IUSE="introspection static-libs test"
21 introspection? ( >=dev-libs/gobject-introspection-0.10.8 )"
23 dev-libs/gobject-introspection-common
25 test? ( dev-libs/check )"
27 # Upstream expect liblangtag to be installed when one runs tests...
30 PATCHES=( "${FILESDIR}/${PN}-0.5.6-musl.patch" )
35 $(use_enable introspection)
38 autotools-utils_src_configure
42 autotools-utils_src_install
43 prune_libtool_files --all