summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2004-09-15 23:10:21 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2004-09-15 23:10:21 +0000
commit8c10135d6ba708afdf1cd267b845ae9007dbd9c5 (patch)
tree19825e28995b8b249544648382b351eec2bc99ed /eclass/freedict.eclass
parentcleanup (diff)
downloadhistorical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.gz
historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.tar.bz2
historical-8c10135d6ba708afdf1cd267b845ae9007dbd9c5.zip
Using eutils:get_libdir() now instead of hardcoded [/usr][/...]/lib
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r--eclass/freedict.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index 2171fff34b31..5a435ac63dff 100644
--- a/eclass/freedict.eclass
+++ b/eclass/freedict.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.7 2004/06/25 00:39:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/freedict.eclass,v 1.8 2004/09/15 23:10:21 kugelfang Exp $
# Author: Seemant Kulleen <seemant@gentoo.org>
# This eclass exists to ease the installation of freedict translation
@@ -8,6 +8,8 @@
# ebuilds are FORLANG and TOLANG for the source and target languages,
# respectively.
+inherit eutils
+
ECLASS="freedict"
INHERITED="$INHERITED $ECLASS"
@@ -27,7 +29,7 @@ KEYWORDS="x86 ~ppc ~sparc ~alpha ~mips ~hppa"
DEPEND="app-text/dictd"
freedict_src_install() {
- insinto /usr/lib/dict
+ insinto /usr/$(get_libdir)/dict
doins ${MY_P}.dict.dz
doins ${MY_P}.index
}