summaryrefslogtreecommitdiff
blob: 2bcbf088ea3eda24cb835adf5b817d62b1c72f77 (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-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

DESCRIPTION="GDL library from D. Fannings IDL courses"
HOMEPAGE="http://www.idlcoyote.com/"
SRC_URI="http://www.idlcoyote.com/programs/zip_files/coyoteprograms.zip -> ${P}.zip"

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

DEPEND="app-arch/unzip"
RDEPEND="dev-lang/gdl"

S="${WORKDIR}/coyote"

PATCHES=(
	"${FILESDIR}/${PN}-cgloadct.patch"
	"${FILESDIR}/${PN}-gdl-fixes.patch"
)

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