summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-12-26 16:01:14 +0000
committerJustin Lecher <jlec@gentoo.org>2011-12-26 16:01:14 +0000
commitf7b0c79614736eed8c84f9098acf5dd1bd860c95 (patch)
treecc52c3eea7f2f383026cc2db07689b1e1924e753 /sci-chemistry
parentnet-nds/jxplorer: revbump (diff)
downloadgentoo-2-f7b0c79614736eed8c84f9098acf5dd1bd860c95.tar.gz
gentoo-2-f7b0c79614736eed8c84f9098acf5dd1bd860c95.tar.bz2
gentoo-2-f7b0c79614736eed8c84f9098acf5dd1bd860c95.zip
Mirror unfetchable files, moved to EAPI=4
(Portage version: 2.2.0_alpha83/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/cara-bin/ChangeLog8
-rw-r--r--sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild31
-rw-r--r--sci-chemistry/cara-bin/metadata.xml6
3 files changed, 24 insertions, 21 deletions
diff --git a/sci-chemistry/cara-bin/ChangeLog b/sci-chemistry/cara-bin/ChangeLog
index c34b921cc1c0..85138469a14d 100644
--- a/sci-chemistry/cara-bin/ChangeLog
+++ b/sci-chemistry/cara-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/cara-bin
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cara-bin/ChangeLog,v 1.4 2010/05/20 12:10:45 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cara-bin/ChangeLog,v 1.5 2011/12/26 16:01:14 jlec Exp $
+
+ 26 Dec 2011; Justin Lecher <jlec@gentoo.org> cara-bin-1.8.4.ebuild,
+ metadata.xml:
+ Mirror unfetchable files, moved to EAPI=4
20 May 2010; Justin Lecher <jlec@gentoo.org> cara-bin-1.8.4.ebuild:
Fixed HOMEPAGE
diff --git a/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild b/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild
index 728d553f6789..4b262eff0af3 100644
--- a/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild
+++ b/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild
@@ -1,18 +1,18 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild,v 1.3 2010/05/20 12:10:45 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cara-bin/cara-bin-1.8.4.ebuild,v 1.4 2011/12/26 16:01:14 jlec Exp $
-EAPI="3"
+EAPI=4
MY_PN="${PN%%-bin}"
MY_P="${MY_PN}_${PV}"
-DESCRIPTION="An application for the analysis of NMR spectra and Computer Aided Resonance Assignment"
-SRC_URI="http://www.cara.nmr-software.org/downloads/${MY_P}_linux.gz
- ftp://ftp.mol.biol.ethz.ch/software/${MY_PN}/Start1.2.cara"
+DESCRIPTION="Analysis of NMR spectra and Computer Aided Resonance Assignment"
+SRC_URI="
+ http://www.cara.nmr-software.org/downloads/${MY_P}_linux.gz
+ http://dev.gentoo.org/~jlec/distfiles//Start1.2.cara.xz"
HOMEPAGE="http://www.nmr.ch"
-RESTRICT="mirror"
LICENSE="CARA"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
@@ -37,20 +37,19 @@ RDEPEND="
lua? ( dev-lang/lua )"
DEPEND=""
-src_unpack(){
- unpack ${MY_P}_linux.gz
- cp "${DISTDIR}"/Start1.2.cara "${WORKDIR}"
-}
+RESTRICT="mirror"
+
+S="${WORKDIR}"
src_install() {
- exeinto "/opt/cara"
- doexe cara_1.8.4_linux || die
- dosym cara_1.8.4_linux /opt/cara/cara || die
- dodoc Start1.2.cara || die
+ exeinto /opt/cara
+ doexe ${MY_P}_linux
+ dosym ${MY_P}_linux /opt/cara/cara
+ dodoc Start1.2.cara
cat >>"${T}"/20cara<<- EOF
PATH="${EPREFIX}/opt/cara/"
EOF
- doenvd "${T}"/20cara || die
+ doenvd "${T}"/20cara
}
diff --git a/sci-chemistry/cara-bin/metadata.xml b/sci-chemistry/cara-bin/metadata.xml
index dc06c49f3397..c845479d513e 100644
--- a/sci-chemistry/cara-bin/metadata.xml
+++ b/sci-chemistry/cara-bin/metadata.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer>
- <email>jlec@gentoo.org</email>
-</maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>