29 lines
752 B
Bash
29 lines
752 B
Bash
# Template file for 'sugar'
|
|
pkgname=sugar
|
|
version=2.3.2
|
|
revision=1
|
|
wrksrc=${pkgname}-v2-3-2
|
|
build_wrksrc=bin
|
|
build_style=gnu-makefile
|
|
make_build_args="javac"
|
|
hostmakedepends="unzip openjdk"
|
|
depends="virtual?java-runtime"
|
|
short_desc="SAT-based Constraint Solver"
|
|
maintainer="Tai Chi Minh Ralph Eastwood <tcmreastwood@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://bach.istc.kobe-u.ac.jp/sugar"
|
|
distfiles="http://bach.istc.kobe-u.ac.jp/sugar/package/sugar-v${version//./-}.zip"
|
|
checksum=50cbd291ab328be4d331c8fcfd4de8b6a26f3f7b8f31094ebf55218a4f647b40
|
|
|
|
post_build() {
|
|
vsed -i 's|/usr/local/lib|/usr/lib|' sugar
|
|
}
|
|
|
|
do_install() {
|
|
vbin sugar
|
|
vinstall sugar-v2-3-2.jar 0644 /usr/lib/sugar
|
|
}
|
|
|
|
post_install() {
|
|
vlicense ../docs/LICENSE.txt LICENSE
|
|
}
|