# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers jon.buffington.name:me
description Simple build tool (sbt) is designed to simplify building Scala projects.
long_description Simple build tool (sbt) is provides unintrusive and easy to set up for simple \
Scala projects. All configuration, customization, and extension are done in Scala. \
Sbt supports continuous compilation and testing with triggered execution in \
mixed Scala/Java projects.
set project_name simple-build-tool
homepage https://code.google.com/p/${project_name}/
master_sites googlecode:${project_name}
distname sbt-launch-${version}
checksums sha1 6b5ba879e80a0464c9eaae786bef494e448e6df7 \
rmd160 0b5257cc9a746036d6dbc18bc00014191421ecb7
depends_build bin:java:kaffe
# Name the wrapper shell script.
file copy ${filespath}/${wrapper} ${worksrcpath}
set jarname ${distname}${extract.suffix}
reinplace "s|__SBT_LAUNCHER_PATH__|${prefix}/share/${name}/${jarname}|g" ${worksrcpath}/${wrapper}
set sbtdir ${destroot}${prefix}/share/${name}
xinstall -m 755 -d ${sbtdir}
xinstall -m 644 ${distpath}/${jarname} ${sbtdir}/
xinstall -m 755 ${worksrcpath}/${wrapper} ${sbtdir}/${name}
ln -s ${prefix}/share/${name}/${name} ${destroot}${prefix}/bin