summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-03-25 17:36:24 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-03-25 17:36:24 +0000
commit7317c5d90ec324edcb87e9cf050a227af7c12198 (patch)
tree04ee63ebb23bc9131fe577ca80c0fc09611feb74 /eclass/embassy-2.10.eclass
parentlisting self as maintainer to match the info given in ChangeLog (diff)
downloadhistorical-7317c5d90ec324edcb87e9cf050a227af7c12198.tar.gz
historical-7317c5d90ec324edcb87e9cf050a227af7c12198.tar.bz2
historical-7317c5d90ec324edcb87e9cf050a227af7c12198.zip
Inherit multilib; support for Gentoo patches.
Diffstat (limited to 'eclass/embassy-2.10.eclass')
-rw-r--r--eclass/embassy-2.10.eclass10
1 files changed, 7 insertions, 3 deletions
diff --git a/eclass/embassy-2.10.eclass b/eclass/embassy-2.10.eclass
index 50688e942c69..a782ed4b67f3 100644
--- a/eclass/embassy-2.10.eclass
+++ b/eclass/embassy-2.10.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-2.10.eclass,v 1.1 2005/03/22 22:07:40 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/embassy-2.10.eclass,v 1.2 2005/03/25 17:36:24 ribosome Exp $
# Author Olivier Fisette <ribosome@gentoo.org>
@@ -10,7 +10,7 @@
# necessary, add "(R|P)DEPEND"encies. Additionnaly, the inheriting ebuild's
# name must begin by "embassy-".
-inherit eutils
+inherit eutils multilib
ECLASS=embassy
INHERITED="$INHERITED $ECLASS"
@@ -32,7 +32,7 @@ SRC_URI="ftp://ftp.uk.embnet.org/pub/EMBOSS/EMBOSS-${EBOV}.tar.gz
SLOT="0"
IUSE="X png"
-DEPEND="=sci-biology/emboss-${EBOV}*
+DEPEND=">=sci-biology/emboss-${EBOV}*
X? ( virtual/x11 )
png? ( sys-libs/zlib
media-libs/libpng
@@ -49,6 +49,10 @@ embassy_src_unpack() {
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/
+ if [ -e ${FILESDIR}/${PF}.patch ]; then
+ cd ${S}
+ epatch ${FILESDIR}/${PF}.patch
+ fi
}
embassy_src_compile() {