summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2003-03-18 03:49:08 +0000
committerSeemant Kulleen <seemant@gentoo.org>2003-03-18 03:49:08 +0000
commitef5a36265afbcaa4787229226bb5c1b08391f117 (patch)
treecf28a873be9f95de081cb3ae76b86f02e0b46369 /eclass/freedict.eclass
parentadded a missing ? in gtkhtml dependency (diff)
downloadgentoo-2-ef5a36265afbcaa4787229226bb5c1b08391f117.tar.gz
gentoo-2-ef5a36265afbcaa4787229226bb5c1b08391f117.tar.bz2
gentoo-2-ef5a36265afbcaa4787229226bb5c1b08391f117.zip
added eclass for freedict translation dictionaries
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r--eclass/freedict.eclass30
1 files changed, 30 insertions, 0 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
new file mode 100644
index 000000000000..0e9241a60b68
--- /dev/null
+++ b/eclass/freedict.eclass
@@ -0,0 +1,30 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.1 2003/03/18 03:49:08 seemant Exp $
+
+# Author: Seemant Kulleen <seemant@gentoo.org>
+# This eclass exists to ease the installation of freedict translation
+# dictionaries. The only variables which need to be defined in the actual
+# ebuilds are FORLANG and TOLANG for the source and target languages,
+# respectively.
+
+IUSE=""
+
+MY_P=${PN/freedict-/}
+
+S=${WORKDIR}
+DESCRIPTION="Freedict for language translation from ${FORLANG} to ${TOLANG}"
+HOMEPAGE="http://www.freedict.de"
+SRC_URI="http://freedict.sourceforge.net/download/linux/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
+DEPEND="app-text/dictd"
+
+src_install() {
+ insinto /usr/lib/dict
+ doins ${MY_P}.dict.dz
+ doins ${MY_P}.index
+}