# -*- 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 blair openmaintainer
description Simple build tool (sbt) simplifies building Scala projects
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.
homepage http://www.scala-sbt.org/
master_sites https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${version}
dist_subdir ${name}/${version}
checksums md5 dacda05621aa777a194346273af30a60 \
sha1 61bfa3f5791325235f6d7cc37a7e7f6bfeb83531 \
sha256 e92f4bb5823491432c59613f263f399bde9573b6f908638c6b10f79191f98559 \
rmd160 8cae748d9c2ad25142002cc16fe97409f5999026
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