academic/mrbayes: Updated for version 3.2.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Petar Petrov 2015-06-20 00:44:12 +07:00 committed by Willy Sudiarto Raharjo
parent 151b08dded
commit acc79d7d1a
3 changed files with 13 additions and 12 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mrbayes
VERSION=${VERSION:-3.2.4}
VERSION=${VERSION:-3.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -59,16 +59,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf ${PRGNAM}-${VERSION}
mkdir ${PRGNAM}-${VERSION}
cd ${PRGNAM}-${VERSION}
rm -rf ${PRGNAM}_${VERSION}
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd ${PRGNAM}_${VERSION}
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd src
autoconf
@ -91,10 +90,12 @@ install -D -m755 mb $PKG/usr/bin/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/$PRGNAM
cp -a ../examples $PKG/usr/share/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
gpl.txt ../documentation/* \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a gpl.txt ../documentation/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/References > $PKG/usr/doc/$PRGNAM-$VERSION/References

View file

@ -1,8 +1,8 @@
PRGNAM="mrbayes"
VERSION="3.2.4"
VERSION="3.2.5"
HOMEPAGE="http://mrbayes.sourceforge.net/"
DOWNLOAD="http://downloads.sourceforge.net/mrbayes/mrbayes-3.2.4.tar.gz"
MD5SUM="b315bc1946af0abfc3349abf22a4f175"
DOWNLOAD="http://downloads.sourceforge.net/mrbayes/mrbayes-3.2.5.tar.gz"
MD5SUM="a85a63e5382bc7ea36b1ce1c2138ee6e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -14,6 +14,6 @@ mrbayes: MrBayes uses Markov chain Monte Carlo (MCMC) methods to
mrbayes: estimate the posterior distribution of model parameters.
mrbayes:
mrbayes: Home: http://mrbayes.sourceforge.net/
mrbayes: References: /usr/doc/mrbayes-3.2.4/References
mrbayes: References: /usr/doc/mrbayes-3.2.5/References
mrbayes:
mrbayes: