summaryrefslogtreecommitdiff
path: root/academic/copasi/copasi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/copasi/copasi.SlackBuild')
-rw-r--r--academic/copasi/copasi.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/academic/copasi/copasi.SlackBuild b/academic/copasi/copasi.SlackBuild
index 1321dfc615..1331756950 100644
--- a/academic/copasi/copasi.SlackBuild
+++ b/academic/copasi/copasi.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=copasi
-VERSION=${VERSION:-65}
+VERSION=${VERSION:-4.13.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,9 +39,9 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
- BINNAME="Linux-Dynamic"
+ BINNAME="Linux-32bit"
elif [ "$ARCH" = "x86_64" ]; then
- BINNAME="Linux64-Dynamic"
+ BINNAME="Linux-64bit"
else
echo "$ARCH is not supported by the $PRGNAM build script..."
exit 1
@@ -56,8 +56,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/Copasi-$VERSION-$BINNAME.tar.gz
-mv $PRGNAM $PRGNAM-$VERSION
+tar xvf $CWD/COPASI-$VERSION-$BINNAME.tar.gz
+mv COPASI-$VERSION-$BINNAME $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,7 +73,6 @@ cp $CWD/copasi.desktop $PKG/usr/share/applications/copasi.desktop
cp share/copasi/icons/Copasi48-Alpha.xpm $PKG/usr/share/pixmaps/copasi.xpm
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install