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

EAPI=5

inherit eutils toolchain-funcs

MY_P="Tisean_${PV}"

DESCRIPTION="Time series alanalytics with theory of nonliner deterministic dynamical systems"
HOMEPAGE="
	https://github.com/heggus/Tisean
	http://www.mpipks-dresden.mpg.de/%7Etisean/Tisean_3.0.1/index.html"
SRC_URI="http://www.mpipks-dresden.mpg.de/~tisean/TISEAN_3.0.1.tar.gz"

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

S="${WORKDIR}/${MY_P}"

src_prepare() {
	tc-export FC CC
	epatch \
		"${FILESDIR}"/${PV}-gentoo.patch \
		"${FILESDIR}"/${P}-backport.patch
}

src_configure() {
	econf \
		--prefix="${ED}/usr"
}

src_install() {
	dodir /usr/bin
	default
}

pkg_postinst() {
	optfeature "plotting support" sci-visualization/gnuplot
}