summaryrefslogtreecommitdiff
blob: 495a57f37578a441f181f071bcc17b9bacf0eabc (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

H=32d7fa8751f668f9e9a18e4e96df3337b53d2150

inherit java-pkg-2 java-ant-2

DESCRIPTION="Interpolating SMT-solver that can compute Craig interpolants for various theories"
HOMEPAGE="http://ultimate.informatik.uni-freiburg.de/smtinterpol/"
SRC_URI="https://github.com/ultimate-pa/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${H}"

LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=virtual/jdk-1.8"
RDEPEND=">=virtual/jre-1.8"

PATCHES=(
	"${FILESDIR}"/${PN}-Version.template-version.patch
	"${FILESDIR}"/${PN}-build.xml-basename.patch
)

src_prepare() {
	default
	java-pkg-2_src_prepare
}

src_compile() {
	eant all
}

src_install() {
	java-pkg_dojar dist/*.jar
	java-pkg_dolauncher ${PN} --jar ${PN}.jar

	einstalldocs
}