+++ /dev/null
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=2
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Generates 2D displays of RNA/DNA secondary structures with tertiary interactions"
-HOMEPAGE="http://ndbserver.rutgers.edu/services/download/index.html"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-LICENSE="public-domain"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-implicit.patch
- cat <<- EOF > 22rnaview
- RNAVIEW="/usr/share/${PN}"
- EOF
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc README || die
- doenvd 22rnaview || die
-}
+++ /dev/null
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Generates 2D displays of RNA/DNA secondary structures with tertiary interactions"
-HOMEPAGE="http://ndbserver.rutgers.edu/services/download/index.html"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-LICENSE="public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-makefile.patch \
- "${FILESDIR}"/${P}-implicit.patch
- cat <<- EOF > 22rnaview
- RNAVIEW="${EPREFIX}/usr/share/${PN}"
- EOF
- tc-export CC
-}
-
-src_install() {
- default
- doenvd 22rnaview
-}
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit toolchain-funcs
-
-DESCRIPTION="Generates 2D displays of RNA/DNA secondary structures with tertiary interactions"
-HOMEPAGE="http://ndbserver.rutgers.edu/services/download/index.html"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-LICENSE="public-domain"
-
-SLOT="0"
-KEYWORDS="~amd64 x86"
-IUSE=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -e "s/CC = cc/CC = $(tc-getCC)/" \
- -e "s/CFLAGS =/CFLAGS = ${CFLAGS}/" \
- -i Makefile || die
-}
-
-src_compile() {
- make clean
- make || die
- cd "${S}"/rnaml2ps
- make clean
- make || die
- cd "${S}"/test
- rm '.#t'
-}
-
-src_install() {
- dobin bin/rnaview rnaml2ps/rnaml2ps || die
- dodoc README || die
- mkdir -p "${D}"/usr/share/${PN}
- cp -r BASEPARS test "${D}"/usr/share/${PN}
-}