summaryrefslogtreecommitdiff
path: root/academic/PhyML/PhyML.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2013-03-11 19:29:34 -0400
committerdsomero <xgizzmo@slackbuilds.org>2013-03-22 07:16:34 -0400
commit5ff74fd3f17497db3f8be260ec2cec905b6a7185 (patch)
tree35da8bdee3ed61d3e3f8792c586a512924307a2e /academic/PhyML/PhyML.SlackBuild
parentf3ff89190652976682287ca6353bea10fc0fe326 (diff)
downloadslackbuilds-5ff74fd3f17497db3f8be260ec2cec905b6a7185.tar.gz
academic/PhyML: Updated for version 20130219.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'academic/PhyML/PhyML.SlackBuild')
-rw-r--r--academic/PhyML/PhyML.SlackBuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/academic/PhyML/PhyML.SlackBuild b/academic/PhyML/PhyML.SlackBuild
index 0ebc5df826..ddab86528c 100644
--- a/academic/PhyML/PhyML.SlackBuild
+++ b/academic/PhyML/PhyML.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PhyML
-# Copyright 2011-2012 Petar Petrov, ppetrov@paju.oulu.fi
+# Copyright 2011-2013 Petar Petrov, ppetrov@paju.oulu.fi
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,11 +25,12 @@
# Thanks to Niels Horn for some handy modifications and corrections.
PRGNAM=PhyML
-VERSION=${VERSION:-20120412}
+VERSION=${VERSION:-20130219}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | tr A-Z a-z)
+SRCVER=20120412
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -63,9 +64,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $SRCNAM-$SRCVER
+tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
+cd $SRCNAM-$SRCVER
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -73,6 +74,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Apply patch 20130219
+cd src
+ patch -i $CWD/$VERSION.patch
+cd ..
+
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \