aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Cera <tcera@wanderer2.chainedlion>2010-01-26 21:00:56 -0500
committerTim Cera <tcera@wanderer2.chainedlion>2010-01-26 21:00:56 -0500
commitcdee4a41f30c1ef6ec9cd4bf325a2938c16e6177 (patch)
treebd29cfe4c740a3fc4878bd8fd699cdfd986bfefd /sci-visualization/ferret-bin/ferret-bin-6.4.ebuild
parentsci-visualization/ferret-bin: Version bump. (diff)
downloadsci-cdee4a41f30c1ef6ec9cd4bf325a2938c16e6177.tar.gz
sci-cdee4a41f30c1ef6ec9cd4bf325a2938c16e6177.tar.bz2
sci-cdee4a41f30c1ef6ec9cd4bf325a2938c16e6177.zip
sci-visualization/ferret-bin: Changed ebuild to correctly install
according to x86 and amd64 architectures. (Portage version: 2.1.6.13/git/Linux x86_64) (Unsigned Manifest commit)
Diffstat (limited to 'sci-visualization/ferret-bin/ferret-bin-6.4.ebuild')
-rw-r--r--sci-visualization/ferret-bin/ferret-bin-6.4.ebuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild b/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild
index b9d1bf79e..39dfb3c46 100644
--- a/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild
+++ b/sci-visualization/ferret-bin/ferret-bin-6.4.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+EAPI="2"
+
MY_PV=${PV/\./}
MY_FER_ENV="fer_environment.v${MY_PV}.tar.gz"
@@ -10,10 +12,10 @@ MY_FER_EXE="fer_executables.v${MY_PV}.tar.gz"
DESCRIPTION="Ferret is an interactive computer visualization and analysis environment"
HOMEPAGE="http://ferret.pmel.noaa.gov/Ferret/"
SRC_URI="ftp://ftp.pmel.noaa.gov/ferret/pub/data/fer_dsets.tar.gz
- x86? ( ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_ENV}
- ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_EXE} )
- amd64? ( ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_ENV}
- ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_EXE} )"
+ x86? ( ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_ENV} -> x86${MY_FER_ENV}
+ ftp://ftp.pmel.noaa.gov/ferret/pub/linux_32/${MY_FER_EXE} -> x86${MY_FER_EXE} )
+ amd64? ( ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_ENV} -> amd64${MY_FER_ENV}
+ ftp://ftp.pmel.noaa.gov/ferret/pub/x86_64-linux/${MY_FER_EXE} -> amd64${MY_FER_EXE} )"
LICENSE="PMEL-FERRET"
SLOT="0"
@@ -32,9 +34,11 @@ BASEDIR="/opt/ferret-bin"
src_unpack() {
mkdir "${S}"
cd "${S}"
- unpack "${MY_FER_ENV}"
+ use x86 && unpack "x86${MY_FER_ENV}"
+ use amd64 && unpack "amd64${MY_FER_ENV}"
cd "${S}"/bin
- unpack "${MY_FER_EXE}"
+ use x86 && unpack "x86${MY_FER_EXE}"
+ use amd64 && unpack "amd64${MY_FER_EXE}"
cd "${S}"
mkdir data
cd data