Browse Source

xap/omero-client: Bundled the ImageJ plugin.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
84ef34e579
  1. 1
      xap/omero-client/OMERO.insight-ij-4.4.8p1-ice33-b304.zip.sha1
  2. 19
      xap/omero-client/omero-client.SlackBuild

1
xap/omero-client/OMERO.insight-ij-4.4.8p1-ice33-b304.zip.sha1

@ -0,0 +1 @@
eb021225acc611d68b1a2c62d2bebdb0da740077 OMERO.insight-ij-4.4.8p1-ice33-b304.zip

19
xap/omero-client/omero-client.SlackBuild

@ -33,7 +33,7 @@ WGET=${WGET:-http://cvs.openmicroscopy.org.uk/snapshots/omero/4.4.8p1/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-omero-client}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -78,6 +78,23 @@ install -m 755 $CWD/omero.editor.sh $PKG/usr/bin/omero.editor
install -m 755 $CWD/omero.importer.sh $PKG/usr/bin/omero.importer
install -m 755 $CWD/omero.importer-cli.sh $PKG/usr/bin/omero.importer-cli
# Install Fiji plugin
if [ -d /usr/lib/fiji/plugins ]; then
IJ=OMERO.insight-ij-$VERSION-ice33-b304.zip
cd $CWD
if [ ! -r $IJ ]; then
wget -c -O $IJ.part "http://cvs.openmicroscopy.org.uk/snapshots/omero/$VERSION/$IJ"
mv $IJ.part $IJ
fi
sha1sum -c $IJ.sha1
mkdir -p $PKG/usr/lib/fiji/plugins
( cd $PKG/usr/lib/fiji/plugins
unzip $CWD/$IJ
mv OMERO.insight-ij-$VERSION-ice33-b304 omero
)
fi
# Install desktop files
mkdir -p $PKG/usr/share/applications
install -m 644 $CWD/*.desktop $PKG/usr/share/applications

Loading…
Cancel
Save