summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlastair Tse <liquidx@gentoo.org>2003-06-03 23:26:46 +0000
committerAlastair Tse <liquidx@gentoo.org>2003-06-03 23:26:46 +0000
commitef0e064edf24b80cd2766b084f702287099d10f2 (patch)
tree3680cbb00b774dff3087a0dbaefd1c89610b6ce2 /eclass/freedict.eclass
parentNew version (diff)
downloadgentoo-2-ef0e064edf24b80cd2766b084f702287099d10f2.tar.gz
gentoo-2-ef0e064edf24b80cd2766b084f702287099d10f2.tar.bz2
gentoo-2-ef0e064edf24b80cd2766b084f702287099d10f2.zip
conform this into a real eclass.
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r--eclass/freedict.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index ed9c892d9af8..ca6dfad11449 100644
--- a/eclass/freedict.eclass
+++ b/eclass/freedict.eclass
@@ -1,6 +1,6 @@
# 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.2 2003/03/18 03:54:48 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.3 2003/06/03 23:26:46 liquidx Exp $
# Author: Seemant Kulleen <seemant@gentoo.org>
# This eclass exists to ease the installation of freedict translation
@@ -8,6 +8,9 @@
# ebuilds are FORLANG and TOLANG for the source and target languages,
# respectively.
+ECLASS="freedict"
+INHERITED="$INHERITED $ECLASS"
+
IUSE=""
MY_P=${PN/freedict-/}
@@ -23,8 +26,10 @@ KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
DEPEND="app-text/dictd"
-src_install() {
+freedict_src_install() {
insinto /usr/lib/dict
doins ${MY_P}.dict.dz
doins ${MY_P}.index
}
+
+EXPORT_FUNCTIONS src_install