# 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 }