diff options
author | Robert Allen <slacker@slaphappygeeks.com> | 2010-05-13 00:20:06 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:06 +0200 |
commit | fbbff75475642643a58cf8be8d0d576e81a61339 (patch) | |
tree | 424e7fc04c193146c05c37c7bffff3c3dc5e7342 /academic | |
parent | fd6918fcbe5a3595656ce44f7ddbb0aae87615b6 (diff) |
academic/jpicedt: Updated for version 1.4.1_03_20071021
Diffstat (limited to 'academic')
-rw-r--r-- | academic/jpicedt/jpicedt.SlackBuild | 18 | ||||
-rw-r--r-- | academic/jpicedt/jpicedt.info | 2 |
2 files changed, 17 insertions, 3 deletions
diff --git a/academic/jpicedt/jpicedt.SlackBuild b/academic/jpicedt/jpicedt.SlackBuild index fb9095710da9..11e866813708 100644 --- a/academic/jpicedt/jpicedt.SlackBuild +++ b/academic/jpicedt/jpicedt.SlackBuild @@ -22,7 +22,7 @@ PRGNAM=jpicedt VERSION=${VERSION:-1.4.1_03} -ARCH=i486 +ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -31,6 +31,17 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +fi + set -e rm -rf $PKG @@ -43,7 +54,8 @@ unzip $CWD/jpicedt-install_1_4_1_03_20071021.jar -d $PKG/opt/$PRGNAM-$VERSION # Install a wrapper script to start jpicedit mkdir -p $PKG/usr/bin -cp $CWD/jpicedt.sh $PKG/usr/bin/jpicedt +sed -e "s|/usr/lib/java|/usr/lib$LIBDIRSUFFIX/java|" \ + $CWD/jpicedt.sh > $PKG/usr/bin/jpicedt chmod 755 $PKG/usr/bin/jpicedt # Remove META-INF/, installer/, windows addons from the package @@ -62,4 +74,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG chown -R root:root . -/sbin/makepkg -c n -l y $OUTPUT/${PRGNAM}-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -c n -l y $OUTPUT/${PRGNAM}-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/academic/jpicedt/jpicedt.info b/academic/jpicedt/jpicedt.info index 2f4a12a6654d..583baecce902 100644 --- a/academic/jpicedt/jpicedt.info +++ b/academic/jpicedt/jpicedt.info @@ -2,7 +2,9 @@ PRGNAM="jpicedt" VERSION="1.4.1_03_20071021" HOMEPAGE="http://jpicedt.sourceforge.net/" DOWNLOAD="http://downloads.sourceforge.net/jpicedt/jpicedt-install_1_4_1_03_20071021.jar" +DOWNLOAD_x86_64="" MD5SUM="bc1894efbe41c87e5767fb17c8a21d20" +MD5SUM_x86_64="" MAINTAINER="Robert Allen" EMAIL="slacker@slaphappygeeks.com" APPROVED="rworkman" |