Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 490292 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/app-i18n/libguess/libguess-1.1.ebuild (-7 / +15 lines)
Lines 2-12 Link Here
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
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libguess/libguess-1.1.ebuild,v 1.11 2014/01/26 13:45:12 hattya Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-i18n/libguess/libguess-1.1.ebuild,v 1.11 2014/01/26 13:45:12 hattya Exp $
4
4
5
EAPI=2
5
EAPI=3
6
7
inherit autotools eutils
6
8
7
DESCRIPTION="A high-speed character set detection library."
9
DESCRIPTION="A high-speed character set detection library."
8
HOMEPAGE="http://www.atheme.org/project/libguess"
10
HOMEPAGE="http://www.atheme.org/project/libguess"
9
SRC_URI="http://distfiles.atheme.org/${P}.tar.bz2"
11
SRC_URI="http://distfiles.atheme.org/${PN}-1.1.tar.bz2"
10
12
11
LICENSE="BSD-2"
13
LICENSE="BSD-2"
12
SLOT="0"
14
SLOT="0"
Lines 14-35 Link Here
14
IUSE="examples"
16
IUSE="examples"
15
17
16
RDEPEND="
18
RDEPEND="
17
	>=dev-libs/libmowgli-0.7.0:0"
19
	>=dev-libs/libmowgli-2.0.0:2"
18
20
19
DEPEND="${RDEPEND}
21
DEPEND="${RDEPEND}
20
	virtual/pkgconfig"
22
	virtual/pkgconfig"
21
23
24
S="${WORKDIR}"/${PN}-1.1
25
26
src_prepare() {
27
	epatch "${FILESDIR}/${PN}-1.2-upg.patch"
28
	eautoreconf
29
}
30
22
src_configure() {
31
src_configure() {
23
	econf $(use_enable examples) \
32
	econf $(use_enable examples)
24
		|| die "econf failed"
25
}
33
}
26
34
27
src_test() {
35
src_test() {
28
	cd src/tests
36
	cd src/tests
29
	make || die "test failed"
37
	emake
30
}
38
}
31
39
32
src_install() {
40
src_install() {
33
	emake DESTDIR="${D}" install || die "emake install failed"
41
	emake DESTDIR="${D}" install
34
	dodoc README
42
	dodoc README
35
}
43
}

Return to bug 490292