summaryrefslogtreecommitdiff
blob: 20857bb5a31fca101678f7e91af6191ca1390781 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

if [[ ${PV} != 99999999 ]]; then
	SRC_URI="http://www.idlcoyote.com/programs/zip_files/coyoteprograms.zip -> ${P}.zip"
	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
	S="${WORKDIR}/coyote"
	DEPEND="app-arch/unzip"
else
	inherit git-r3
	GIT_ECLASS="git-r3"
	EGIT_REPO_URI="https://github.com/idl-coyote/coyote.git"
	KEYWORDS=""
fi

DESCRIPTION="GDL library from D. Fannings IDL courses"
HOMEPAGE="http://www.idlcoyote.com/"

LICENSE="BSD GPL-2"
SLOT="0"
IUSE=""

RDEPEND="dev-lang/gdl"

src_install() {
	dodoc README.txt
	rm README.txt || die
	insinto /usr/share/gnudatalanguage/coyote
	doins -r *
}