blob: 6737f715c7e8ab46d1a7df9289595966de34efae (
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
44
45
46
47
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/spin/spin-6.0.1.ebuild,v 1.1 2011/01/01 15:57:08 phajdan.jr Exp $
EAPI="2"
inherit eutils versionator
MY_PV=$(replace_all_version_separators '')
MY_P="${PN}${MY_PV}"
DESCRIPTION="Tool for formal verification of distributed software systems."
HOMEPAGE="http://spinroot.com/"
SRC_URI="http://spinroot.com/spin/Src/${MY_P}.tar.gz"
LICENSE="|| ( spin-commercial spin-educational )"
SLOT="0"
KEYWORDS="~x86"
IUSE="graphviz tk"
DEPEND="sys-devel/bison"
RDEPEND="sys-devel/gcc
sys-process/time
tk? (
dev-lang/tk
graphviz? ( media-gfx/graphviz )
)"
S="${WORKDIR}/Spin/Src${PV}"
src_prepare() {
epatch "${FILESDIR}/${PN}-6.0.1-makefile.patch"
}
src_compile() {
emake -j1 || die
}
src_install() {
dobin spin || die
doman ../Man/spin.1 || die
dodoc ../Doc/* || die
if use tk; then
newbin "${WORKDIR}/Spin/iSpin/ispin.tcl" ispin || die
make_desktop_entry ispin
fi
}
|