aboutsummaryrefslogtreecommitdiff
path: root/development/sbt
diff options
context:
space:
mode:
authorBen Mendis <ben.mendis@gmail.com>2012-04-15 11:32:49 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-16 05:36:01 -0500
commitc071ea892a0d33afd076a279abe7c9d877325fbc (patch)
treeeef5957af93e3340e71b6d48e63825c8be725f41 /development/sbt
parent4f788e681c902e1bf54712af5c3fcd6a2d3258e9 (diff)
development/sbt: Added (Simple Build Tool)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/sbt')
-rw-r--r--development/sbt/README3
-rw-r--r--development/sbt/sbt.SlackBuild39
-rw-r--r--development/sbt/sbt.info10
-rw-r--r--development/sbt/sbt.sh4
-rw-r--r--development/sbt/slack-desc19
5 files changed, 75 insertions, 0 deletions
diff --git a/development/sbt/README b/development/sbt/README
new file mode 100644
index 0000000000000..f066c4fd1f5f0
--- /dev/null
+++ b/development/sbt/README
@@ -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
+
diff --git a/development/sbt/sbt.SlackBuild b/development/sbt/sbt.SlackBuild
new file mode 100644
index 0000000000000..57d811bc225c1
--- /dev/null
+++ b/development/sbt/sbt.SlackBuild
@@ -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}
diff --git a/development/sbt/sbt.info b/development/sbt/sbt.info
new file mode 100644
index 0000000000000..24ba65d8ee610
--- /dev/null
+++ b/development/sbt/sbt.info
@@ -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"
diff --git a/development/sbt/sbt.sh b/development/sbt/sbt.sh
new file mode 100644
index 0000000000000..6ca20fe7c51f5
--- /dev/null
+++ b/development/sbt/sbt.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+java -Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=384M -jar `dirname $0`/../share/sbt/sbt-launch.jar "$@"
+
diff --git a/development/sbt/slack-desc b/development/sbt/slack-desc
new file mode 100644
index 0000000000000..89c8876e77f7a
--- /dev/null
+++ b/development/sbt/slack-desc
@@ -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: