New package: sugar-2.3.2

This commit is contained in:
Tai Chi Minh Ralph Eastwood 2017-11-09 18:33:27 +00:00 committed by Toyam Cox
parent a10ab0ddfa
commit c0db1284fd
1 changed files with 30 additions and 0 deletions

30
srcpkgs/sugar/template Normal file
View File

@ -0,0 +1,30 @@
# 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"
depends="virtual?java-runtime"
makedepends="openjdk"
hostmakedepends="unzip"
short_desc="A 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-v2-3-2.zip"
checksum=50cbd291ab328be4d331c8fcfd4de8b6a26f3f7b8f31094ebf55218a4f647b40
post_build() {
sed -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
}