blob: 4b7eee5ff9801bf043e494ce3920cb64fd47fb5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/maestro/maestro-2004.ebuild,v 1.3 2007/01/09 15:41:53 caster Exp $
DESCRIPTION="Maestro is a public release software package that NASA scientists use to operate the Spirit and Opportunity Rovers."
SRC_URI="http://freecache.org/http://mars9.telascience.org:81/softwaredownload/Maestro-Linux.tar.gz"
HOMEPAGE="http://mars.telascience.org/"
IUSE=""
DEPEND=""
RDEPEND=">=virtual/jre-1.4"
LICENSE="maestro"
SLOT="0"
KEYWORDS="~amd64 x86"
S=${WORKDIR}/R2004_02-Public-Linux
src_unpack() {
unpack ${A}
cd ${S}/JPL/SAP/WITS-db
einfo "Unpacking default data sets..."
tar xf mer.tar
rm mer.tar
cd ${S}
}
src_install () {
dodir /opt/${PN}
cp -r JPL/ ${D}/opt/${PN}
echo "#!/bin/sh" >> ${PN}
echo "cd /opt/${PN}/JPL/SAP/bin" >> ${PN}
echo "./SAP" >> ${PN}
into /opt
dobin ${PN}
}
pkg_postinst() {
elog
elog "Dataset updates can be found online at:"
elog " http://mars.telascience.org/update"
elog
elog "To run maestro, simply type: maestro"
elog
}
|