aboutsummaryrefslogtreecommitdiff
path: root/academic/copasi/copasi.SlackBuild
diff options
context:
space:
mode:
authorPedro Mendes <pedro@gepasi.org>2014-09-25 20:14:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-25 20:14:45 +0700
commitf407a6ccd0db6f1bf5a043b2a2c562ed0af8c479 (patch)
treeef2c3c84185d48111ff724924879ea4cfb4510d1 /academic/copasi/copasi.SlackBuild
parentf54cb843cf6f8aacecdcd2eb9d455118681ec9ec (diff)
academic/copasi: Updated for version 4.13.87.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 1321dfc615ccf..13317569504a1 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