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/embassy.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/embassy.eclass')
-rw-r--r--eclass/embassy.eclass12
1 files changed, 7 insertions, 5 deletions
diff --git a/eclass/embassy.eclass b/eclass/embassy.eclass
index 18156b0c9665..83291807b1b3 100644
--- a/eclass/embassy.eclass
+++ b/eclass/embassy.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/embassy.eclass,v 1.3 2004/09/11 14:04:45 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/embassy.eclass,v 1.4 2004/09/15 23:10:21 kugelfang Exp $
# Author Olivier Fisette <ribosome@gentoo.org>
@@ -10,6 +10,8 @@
# necessary, add "(R|P)DEPEND"encies. Additionnaly, the inheriting ebuild's
# name must begin by "embassy-".
+inherit eutils
+
ECLASS=embassy
INHERITED="$INHERITED $ECLASS"
@@ -43,10 +45,10 @@ embassy_src_unpack() {
unpack ${A}
mkdir EMBOSS-${EBOV}/embassy
mv ${EF} EMBOSS-${EBOV}/embassy/
- cp /usr/lib/libplplot.la EMBOSS-${EBOV}/plplot/
- cp /usr/lib/libajax.la EMBOSS-${EBOV}/ajax/
- cp /usr/lib/libajaxg.la EMBOSS-${EBOV}/ajax/
- cp /usr/lib/libnucleus.la EMBOSS-${EBOV}/nucleus/
+ cp /usr/$(get_libdir)/libplplot.la EMBOSS-${EBOV}/plplot/
+ cp /usr/$(get_libdir)/libajax.la EMBOSS-${EBOV}/ajax/
+ cp /usr/$(get_libdir)/libajaxg.la EMBOSS-${EBOV}/ajax/
+ cp /usr/$(get_libdir)/libnucleus.la EMBOSS-${EBOV}/nucleus/
}
embassy_src_compile() {