summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/embassy-2.10.eclass')
-rw-r--r--eclass/embassy-2.10.eclass18
1 files changed, 10 insertions, 8 deletions
diff --git a/eclass/embassy-2.10.eclass b/eclass/embassy-2.10.eclass
index 50688e942c69..655458c888cc 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.1.1.1 2005/11/30 09:59:35 chriswhite Exp $
# Author Olivier Fisette <ribosome@gentoo.org>
@@ -10,10 +10,8 @@
# 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"
# EMBOSS version needed for the EMBASSY packages
EBOV="2.10.0"
@@ -32,7 +30,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
@@ -41,7 +39,7 @@ DEPEND="=sci-biology/emboss-${EBOV}*
S=${WORKDIR}/EMBOSS-${EBOV}/embassy/${EF}
-embassy_src_unpack() {
+embassy-2.10_src_unpack() {
unpack ${A}
mkdir EMBOSS-${EBOV}/embassy
mv ${EF} EMBOSS-${EBOV}/embassy/
@@ -49,9 +47,13 @@ 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() {
+embassy-2.10_src_compile() {
local EXTRA_CONF
! use X && EXTRA_CONF="${EXTRA_CONF} --without-x"
! use png && EXTRA_CONF="${EXTRA_CONF} --without-pngdriver"
@@ -70,7 +72,7 @@ embassy_src_compile() {
without \"png\" support, compilation will fail when linking the binaries."
}
-embassy_src_install() {
+embassy-2.10_src_install() {
einstall || die
dodoc AUTHORS ChangeLog NEWS README
}