Line 0
Link Here
|
|
|
1 |
diff -ur a/liblangtag-0.5.1/liblangtag/lt-string.h b/liblangtag-0.5.1/liblangtag/lt-string.h |
2 |
--- a/liblangtag-0.5.1/liblangtag/lt-string.h 2012-12-13 10:59:17.000000000 -0200 |
Line 0
Link Here
|
|
|
1 |
# Copyright 1999-2013 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-text/liblangtag/liblangtag-0.5.1.ebuild,v 1.5 2013/07/30 07:09:38 scarabeus Exp $ |
4 |
|
5 |
EAPI=5 |
6 |
|
7 |
inherit autotools-utils |
8 |
|
9 |
DESCRIPTION="An interface library to access tags for identifying languages" |
10 |
HOMEPAGE="http://tagoh.bitbucket.org/liblangtag/" |
11 |
SRC_URI="https://bitbucket.org/tagoh/${PN}/downloads/${P}.tar.bz2" |
12 |
|
13 |
LICENSE="|| ( LGPL-3 MPL-1.1 )" |
14 |
SLOT="0" |
15 |
KEYWORDS="amd64 ~arm ppc x86" |
16 |
IUSE="introspection static-libs test" |
17 |
|
18 |
RDEPEND=" |
19 |
dev-libs/glib |
20 |
dev-libs/libxml2 |
21 |
introspection? ( >=dev-libs/gobject-introspection-0.10.8 )" |
22 |
DEPEND="${RDEPEND} |
23 |
dev-libs/gobject-introspection-common |
24 |
sys-devel/gettext |
25 |
test? ( dev-libs/check )" |
26 |
|
27 |
# Upstream expect liblangtag to be installed when one runs tests... |
28 |
RESTRICT="test" |
29 |
|
30 |
PATCHES=( |
31 |
"${FILESDIR}/${P}-gcc45.patch" |
32 |
"${FILESDIR}/${P}-musl.patch" |
33 |
) |
34 |
|
35 |
src_configure() { |
36 |
local myeconfargs=( |
37 |
$(use_enable introspection) |
38 |
$(use_enable test) |
39 |
) |
40 |
autotools-utils_src_configure |
41 |
} |
42 |
|
43 |
src_install() { |
44 |
autotools-utils_src_install |
45 |
prune_libtool_files --all |
46 |
} |