summaryrefslogtreecommitdiff
blob: ff5a7ec3986a21f72570d37f76569df5e1d8cd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/adaptit/adaptit-4.0.2.ebuild,v 1.3 2009/12/31 21:12:57 ssuominen Exp $

WX_GTK_VER=2.8

inherit eutils wxwidgets flag-o-matic fdo-mime

DESCRIPTION="Application for translating text from one known language to another related language."
SRC_URI="http://adaptit.martintribe.org/apt/pool/main/a/adaptit/adaptit_4.0.2.orig.tar.gz"
HOMEPAGE="http://code.google.com/p/adaptit/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=x11-libs/wxGTK-2.8"
DEPEND="
	${RDEPEND}
	sys-devel/gettext"

src_compile() {
	append-flags -fno-strict-aliasing

	mkdir -p "${S}"/build
	cd "${S}"/build

	ECONF_SOURCE="${S}/bin/linux/"
	econf

	emake || die "Build failed!"
}

src_install () {
	cd "${S}"/build
	emake DESTDIR="${D}" install || die "Install failed"
	cd "${S}"
	dodoc AUTHORS ChangeLog
}