aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJockey S. Kyd <jockey.kyd@gmail.com>2011-09-28 07:56:36 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-28 07:56:36 -0300
commit9eea3d3eb6c2929209131c7fe7436d252dc576bd (patch)
tree323280eca32d6de49e08ac7e0e640e024dc4c252
parent63cd59235a7307bbb68e396fe69f0dae42879f18 (diff)
development/alloy: Added (lightweight modelling language)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--development/alloy/README4
-rw-r--r--development/alloy/alloy.SlackBuild56
-rw-r--r--development/alloy/alloy.info10
-rw-r--r--development/alloy/slack-desc19
4 files changed, 89 insertions, 0 deletions
diff --git a/development/alloy/README b/development/alloy/README
new file mode 100644
index 0000000000000..180468fc39057
--- /dev/null
+++ b/development/alloy/README
@@ -0,0 +1,4 @@
+Alloy is a lightweight modelling language for software design. It is
+amenable to a fully automatic analysis, using the Alloy Analyzer, and
+provides a visualizer for making sense of solutions and counterexamples it
+finds.
diff --git a/development/alloy/alloy.SlackBuild b/development/alloy/alloy.SlackBuild
new file mode 100644
index 0000000000000..10d36014e08c6
--- /dev/null
+++ b/development/alloy/alloy.SlackBuild
@@ -0,0 +1,56 @@
+#!/bin/sh
+#
+# Written by Jockey S. Kyd (jockey dot kyd at gmail dot com)
+# Public domain
+#
+
+PRGNAM=alloy
+VERSION=4.1.10
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$(uname -m)" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$(uname -m) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+DIST=$PRGNAM${VERSION%%.*}
+
+case "$ARCH" in
+ x86_64) LIBDIRSUFFIX="64" ;;
+ *) LIBDIRSUFFIX="" ;;
+esac
+
+set -e
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+
+mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+install -Dm 644 $CWD/$DIST.jar $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/$DIST.jar
+
+mkdir -p $PKG/usr/bin
+( cd $PKG/usr/bin
+ cat > $DIST <<__END__
+#!/bin/sh
+java -jar /usr/lib$LIBDIRSUFFIX/$PRGNAM/$DIST.jar "\$@"
+__END__
+ chmod 755 $DIST
+ ln -sf $DIST $PRGNAM
+)
+
+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/alloy/alloy.info b/development/alloy/alloy.info
new file mode 100644
index 0000000000000..ca395920567b8
--- /dev/null
+++ b/development/alloy/alloy.info
@@ -0,0 +1,10 @@
+PRGNAM="alloy"
+VERSION="4.1.10"
+HOMEPAGE="http://alloy.mit.edu/"
+DOWNLOAD="http://alloy.mit.edu/alloy4/alloy4.jar"
+MD5SUM="5893b41934de4d339f9b15e2c254e10c"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Jockey S. Kyd"
+EMAIL="jockey.kyd@gmail.com"
+APPROVED="Niels Horn"
diff --git a/development/alloy/slack-desc b/development/alloy/slack-desc
new file mode 100644
index 0000000000000..51ece73ee99f6
--- /dev/null
+++ b/development/alloy/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------------------------------------------------------|
+alloy: alloy (Alloy Analyzer)
+alloy:
+alloy: Alloy is a lightweight modelling language for software design. It is
+alloy: amenable to a fully automatic analysis, using the Alloy Analyzer, and
+alloy: provides a visualizer for making sense of solutions and
+alloy: counterexamples it finds.
+alloy:
+alloy: http://alloy.mit.edu/
+alloy:
+alloy:
+alloy: