diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2010-05-13 00:33:29 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:33:29 +0200 |
commit | 457adae6d8c90b30ea7ece1562e42a882256e8fc (patch) | |
tree | d785a51600d3ed5d62e6df553c8386d16816c067 /libraries/rhino/rhino.SlackBuild | |
parent | 9cea69d85545cf8a7e9d7ab559daf8bf1e1ef6f6 (diff) | |
download | slackbuilds-457adae6d8c90b30ea7ece1562e42a882256e8fc.tar.gz |
libraries/rhino: Updated for version 1_R2
Diffstat (limited to 'libraries/rhino/rhino.SlackBuild')
-rw-r--r-- | libraries/rhino/rhino.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libraries/rhino/rhino.SlackBuild b/libraries/rhino/rhino.SlackBuild index 37cf5f432d..6d5f67f9f1 100644 --- a/libraries/rhino/rhino.SlackBuild +++ b/libraries/rhino/rhino.SlackBuild @@ -3,8 +3,6 @@ # Slackware build script for rhino # Written by Vincent Batts, vbatts@hashbangbash.com -set -e - PRGNAM=rhino VERSION=1_7R2 ARCH=${ARCH:-i486} @@ -16,7 +14,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -ANT_HOME=${ANT_HOME:-/usr/share/ant} +ANTHOME="/usr/share/ant" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -29,6 +27,8 @@ elif [ "$ARCH" = "x86_64" ]; then LIBDIRSUFFIX="64" fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -37,11 +37,11 @@ unzip $CWD/${PRGNAM}${VERSION}.zip cd ${PRGNAM}${VERSION} chown -R root:root . -mkdir -p $PKG/$ANT_HOME/lib/ $PKG/usr/share/java -cp js.jar $PKG/$ANT_HOME/lib/$PRGNAM.jar +mkdir -p $PKG/$ANTHOME/lib/ $PKG/usr/share/java +cp js.jar $PKG/$ANTHOME/lib/$PRGNAM.jar cd $PKG/usr/share/java - ln -s ../../../$ANT_HOME/lib/$PRGNAM.jar + ln -s ../../../$ANTHOME/lib/$PRGNAM.jar cd - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -53,4 +53,4 @@ 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.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |