development/sbt: Added (Simple Build Tool)

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Ben Mendis 2012-04-15 11:32:49 -04:00 committed by Erik Hanson
parent 4f788e681c
commit c071ea892a
5 changed files with 75 additions and 0 deletions

3
development/sbt/README Normal file
View file

@ -0,0 +1,3 @@
Simple Build Tool (SBT) is an open source build tool for Scala and
Java projects that aims to do the basics well. SBT

View file

@ -0,0 +1,39 @@
#!/bin/sh
# Slackware build script for sbt
# Written by Ben Mendis <ben.mendis@gmail.com>
PRGNAM=sbt
VERSION=${VERSION:-0.11.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
mkdir -p $PKG/usr/share/sbt
cp $CWD/sbt-launch.jar $PKG/usr/share/sbt
chmod 644 $PKG/usr/share/sbt/sbt-launch.jar
mkdir -p $PKG/usr/bin
cat $CWD/sbt.sh > $PKG/usr/bin/sbt
chmod 755 $PKG/usr/bin/sbt
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

10
development/sbt/sbt.info Normal file
View file

@ -0,0 +1,10 @@
PRGNAM="sbt"
VERSION="0.11.2"
HOMEPAGE="https://github.com/harrah/xsbt/wiki"
DOWNLOAD="http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.11.2/sbt-launch.jar"
MD5SUM="2886cc391e38fa233b3e6c0ec9adfa1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Ben Mendis"
EMAIL="ben.mendis@gmail.com"
APPROVED="dsomero"

4
development/sbt/sbt.sh Normal file
View file

@ -0,0 +1,4 @@
#!/bin/sh
java -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M -jar `dirname $0`/../share/sbt/sbt-launch.jar "$@"

View file

@ -0,0 +1,19 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
sbt: sbt (Simple Build Tool)
sbt:
sbt: sbt is a build tool for Scala and Java projects that aims to do the
sbt: basics well. It requires Java 1.6 or later.
sbt:
sbt: Homepage: https://github.com/harrah/xsbt/wiki
sbt:
sbt:
sbt:
sbt:
sbt: