blob: b86fed779a67964878ca99398afb7709d7969fac (
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
43
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
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"
LICENSE="all-rights-reserved"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/tcl"
DEPEND="app-arch/unzip"
S="${WORKDIR}"
src_unpack() {
unpack ${DB}.zip
cp "${DISTDIR}"/${MY_P}.tcl "${S}" || die
}
src_prepare() {
epatch "${FILESDIR}"/${PV}-db.patch
}
src_install() {
edos2unix ${MY_P}.tcl
newbin ${MY_P}.tcl ${PN}
insinto /usr/share/${PN}
doins ${DB}.txt
}
|