summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2016-01-25 20:51:15 +0100
committerJustin Lecher <jlec@gentoo.org>2016-01-25 20:57:27 +0100
commit9530b4832c44474bce265dce51144b91ea94eb3b (patch)
tree940b735dd27bea76ccb079205d7c30ba34af0eaa
parentdev-lang/ekopath: Snapshot bump (diff)
downloadgentoo-9530b4832c44474bce265dce51144b91ea94eb3b.tar.gz
gentoo-9530b4832c44474bce265dce51144b91ea94eb3b.tar.bz2
gentoo-9530b4832c44474bce265dce51144b91ea94eb3b.zip
embassy.eclass: Drop obsolete eclass
Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--eclass/embassy.eclass92
1 files changed, 0 insertions, 92 deletions
diff --git a/eclass/embassy.eclass b/eclass/embassy.eclass
deleted file mode 100644
index a8f8e85180fa..000000000000
--- a/eclass/embassy.eclass
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# Author Olivier Fisette <ribosome@gentoo.org>
-
-# This eclass is used to install EMBASSY programs (EMBOSS add-ons).
-
-# The inheriting ebuild should provide a "DESCRIPTION", "KEYWORDS" and, if
-# necessary, add "(R|P)DEPEND"encies. Additionnaly, the inheriting ebuild's
-# name must begin by "embassy-". Also, before inheriting, the ebuild should
-# specify what version of EMBOSS is required by setting EBOV.
-
-inherit eutils multilib
-
-# The EMBASSY package name, retrieved from the inheriting ebuild's name
-EN=${PN:8}
-# The full name and version of the EMBASSY package (excluding the Gentoo
-# revision number)
-EF="$(echo ${EN} | tr "[:lower:]" "[:upper:]")-${PV}"
-
-HOMEPAGE="http://emboss.sourceforge.net/"
-LICENSE="LGPL-2 GPL-2"
-SRC_URI="ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${EBOV}.tar.gz
- ftp://emboss.open-bio.org/pub/EMBOSS/${EF}.tar.gz"
-
-SLOT="0"
-IUSE="X png"
-
-DEPEND="=sci-biology/emboss-${EBOV}*
- !<sci-biology/emboss-${EBOV}
- X? ( x11-libs/libX11 )
- png? ( sys-libs/zlib
- media-libs/libpng
- >=media-libs/gd-1.8
- )"
-
-S=${WORKDIR}/EMBOSS-${EBOV}/embassy/${EF}
-
-embassy_src_unpack() {
- unpack ${A}
- mkdir EMBOSS-${EBOV}/embassy
- mv ${EF} EMBOSS-${EBOV}/embassy/
- cp /usr/$(get_libdir)/libplplot.la EMBOSS-${EBOV}/plplot/
- cp /usr/$(get_libdir)/libeplplot.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/
- if [ -e "${FILESDIR}"/${PF}.patch ]; then
- cd "${S}"
- epatch "${FILESDIR}"/${PF}.patch
- fi
-}
-
-embassy_src_compile() {
- local PREFIX="${ROOT}/usr"
- local EXTRA_CONF
- ! use X && EXTRA_CONF="${EXTRA_CONF} --without-x"
- ! use png && EXTRA_CONF="${EXTRA_CONF} --without-pngdriver"
- ./configure \
- "--bindir=${PREFIX}/bin" \
- "--sbindir=${PREFIX}/sbin" \
- "--libexecdir=${PREFIX}/libexec" \
- "--sysconfdir=${ROOT}/etc" \
- "--sharedstatedir=${ROOT}/var" \
- "--localstatedir=${ROOT}/var" \
- "--libdir=${PREFIX}/$(get_libdir)" \
- "--includedir=${PREFIX}/include" \
- "--datarootdir=${PREFIX}/share" \
- "--datadir=${PREFIX}/share" \
- "--infodir=${PREFIX}/share/info" \
- "--localedir=${PREFIX}/share/locale" \
- "--mandir=${PREFIX}/share/man" \
- ${EXTRA_CONF} || die
- emake || die "Before reporting this error as a bug, please make sure you compiled
- EMBOSS and the EMBASSY packages with the same \"USE\" flags. Failure to
- do so may prevent the compilation of some EMBASSY packages, or cause
- runtime problems with some EMBASSY programs. For example, if you
- compile EMBOSS with \"png\" support and then try to build DOMAINATRIX
- without \"png\" support, compilation will fail when linking the binaries."
-}
-
-embassy_src_install() {
- emake DESTDIR="${D}" install || die "Install failed"
- dodoc AUTHORS ChangeLog NEWS README
- dodir /usr/share
- mv "${D}"/usr/local/share/* "${D}"/usr/share/
- rmdir "${D}"/usr/local/share
- rmdir "${D}"/usr/local
-}
-
-EXPORT_FUNCTIONS src_unpack src_compile src_install