You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-dicts/babytrans/babytrans-0.9.2-r2.ebuild

40 lines
963 B

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-dicts/babytrans/babytrans-0.9.2-r2.ebuild,v 1.12 2009/10/17 22:38:44 halcy0n Exp $
inherit eutils
DESCRIPTION="BabyTrans is a Linux clone of the popular Babylon Translator for Windows."
SRC_URI="http://fjolliton.free.fr/babytrans/test/${P}.tar.gz"
HOMEPAGE="http://fjolliton.free.fr/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc"
IUSE=""
RDEPEND="=x11-libs/gtk+-1.2*
=dev-libs/glib-1.2*
app-dicts/babytrans-en"
src_unpack() {
unpack ${A}
cd "${S}"/src
epatch "${FILESDIR}"/${P}-gcc.patch
}
src_install() {
einstall || die
insinto /usr/share/babytrans
doins "${FILESDIR}"/dictionary
dodoc AUTHORS README
}
pkg_postinst() {
elog
elog "Now you should install one of the babytrans dictionaries"
elog "available in portage. You can find then in $PORTDIR under"
elog "the app-dicts category"
elog
}