|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
# Build script for Slackware |
|
|
|
# Copyright (C) 2009,2010,2011,2012,2013,2014 Damien Goutte-Gattat |
|
|
|
# Copyright (C) 2009-2015 Damien Goutte-Gattat |
|
|
|
# |
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
# is permitted provided that the following conditions are met: |
|
|
@ -29,8 +29,8 @@ |
|
|
|
|
|
|
|
# Source package infos |
|
|
|
NAMESRC=${NAMESRC:-OMERO.server} |
|
|
|
VERSION=${VERSION:-5.0.6} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice35-b53.zip} |
|
|
|
VERSION=${VERSION:-5.0.7} |
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-ice35-b58.zip} |
|
|
|
WGET=${WGET:-http://downloads.openmicroscopy.org/omero/$VERSION/artifacts/$ARCHIVE} |
|
|
|
|
|
|
|
# Build infos |
|
|
@ -69,7 +69,7 @@ sha1sum -c $ARCHIVE.sha1 |
|
|
|
mkdir -p $PKG/opt |
|
|
|
cd $PKG/opt |
|
|
|
unzip $CWD/$ARCHIVE |
|
|
|
mv OMERO.server-$VERSION-ice35-b53 omero |
|
|
|
mv OMERO.server-$VERSION-ice35-b58 omero |
|
|
|
rm omero/bin/*.bat |
|
|
|
rm omero/etc/{Windows.cfg,apache.conf.template,env.bat,env.sh,local.properties.example} |
|
|
|
rm omero/etc/nginx.conf.* |
|
|
|