Browse Source

xap/icy: Upgraded to icy-1.3.6.0.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
f711521303
  1. 17
      xap/icy/icy.SlackBuild
  2. 1
      xap/icy/icy.zip.sha1
  3. 1
      xap/icy/icy_1.1.0.0.zip.sha1

17
xap/icy/icy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011 Damien Goutte-Gattat
# Copyright (C) 2011,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,14 +29,14 @@
# Source package infos
NAMESRC=${NAMESRC:-icy}
VERSION=${VERSION:-1.1.0.0}
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.zip}
WGET=${WGET:-http://www.bioimageanalysis.org/icy/downloadICY.php}
VERSION=${VERSION:-1.3.6.0}
ARCHIVE=${ARCHIVE:-$NAMESRC.zip}
WGET=${WGET:-http://www.icy.bioimageanalysis.org/downloadIcy/icy.zip}
# Build infos
NAMEPKG=${NAMEPKG:-icy}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-noarch}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
# Directories
@ -64,17 +64,20 @@ if [ ! -r $ARCHIVE ]; then
fi
sha1sum -c $ARCHIVE.sha1
LIBDIRSUFFIX=
[ "x$ARCH" = xx86_64 ] && LIBDIRSUFFIX=64
# Install
mkdir -p $PKG/opt/icy $PKG/usr/bin $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/icy
echo "Building $ARCHIVE..."
unzip $CWD/$ARCHIVE
rm -rf icy.exe icy.app icy.sh lib/mac64 lib/win32 lib/win64
mv COPYING $PKG/usr/doc/$NAMEPKG-$VERSION/
mv CHANGELOG.txt COPYING.txt $PKG/usr/doc/$NAMEPKG-$VERSION/
cat > $PKG/usr/bin/icy <<EOF
#!/bin/sh
cd /opt/icy
exec java -jar icy.jar
exec java -Xms256m -Xmx1024m -jar updater.jar
EOF
chmod 755 $PKG/usr/bin/icy

1
xap/icy/icy.zip.sha1

@ -0,0 +1 @@
66ec2ee8bb5f51d0890331f40bb5d9c084be0f9c icy.zip

1
xap/icy/icy_1.1.0.0.zip.sha1

@ -1 +0,0 @@
60aab873c1d03d7bb899077a76ab7cdc08f1e241 icy_1.1.0.0.zip
Loading…
Cancel
Save