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

inherit eutils

DB="pdb_2009-04-29_ord"
MY_P="${PN}${PV}"

DESCRIPTION="shows qualitatively if some models parameters are over- or under-refined"
HOMEPAGE="http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/Polygon.html"
SRC_URI="
	http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/${MY_P}.tcl
	http://www-ibmc.u-strasbg.fr/arn/Site_UPR9002/Polygon/${DB}.zip
"

SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="as-is"
IUSE=""

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

src_unpack() {
	unpack ${DB}.zip
	cp "${DISTDIR}"/${MY_P}.tcl "${WORKDIR}"
	cd "${WORKDIR}"
	epatch "${FILESDIR}"/${PV}-db.patch
}

src_install() {
	edos2unix ${MY_P}.tcl
	newbin ${MY_P}.tcl ${PN} || die
	insinto /usr/share/${PN}
	doins ${DB}.txt || die
}