aboutsummaryrefslogtreecommitdiff
blob: 0632636b7695ace0295415d8f2e8d52d0b991985 (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

SP=starlink
SR=hikianalia
SRC_COM="http://ftp.jach.hawaii.edu/${SP}/${SR}/${SP}-${SR}"

DESCRIPTION="Astronomical data processing software suite"
HOMEPAGE="http://starlink.jach.hawaii.edu/starlink"
SRC_URI="amd64? ( ${SRC_COM}-Linux-64bit.tar.gz )
	x86? ( ${SRC_COM}-Linux-32bit.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="-* ~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE=""

RDEPEND=""
DEPEND=""
S="${WORKDIR}"

src_install () {
	dodir /usr
	mv star-${SR} "${ED}"/usr || die
	echo >> 99starlink "STARLINK_DIR=${EROOT%/}/usr/star-${SR}"
	doenvd 99starlink
}