diff options
author | Petar Petrov <ppetrov@paju.oulu.fi> | 2011-11-07 18:39:00 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:08:06 -0600 |
commit | 95eb3a89b9e77849dfb9188f9ebf5b2fc0f1bd88 (patch) | |
tree | ce4b4c96272a01e154d099623db1b00dc1721d30 /academic | |
parent | 278bd97c4d40dba73fe04e8cc5cda939be7ee710 (diff) | |
download | slackbuilds-95eb3a89b9e77849dfb9188f9ebf5b2fc0f1bd88.tar.gz |
academic/primer3: Build bump, new symlink and misc. cleanup.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r-- | academic/primer3/primer3.SlackBuild | 24 | ||||
-rw-r--r-- | academic/primer3/primer3.info | 2 |
2 files changed, 15 insertions, 11 deletions
diff --git a/academic/primer3/primer3.SlackBuild b/academic/primer3/primer3.SlackBuild index fbba3a73f5..150008b4f3 100644 --- a/academic/primer3/primer3.SlackBuild +++ b/academic/primer3/primer3.SlackBuild @@ -1,17 +1,19 @@ #!/bin/sh # Slackware build script for primer3 -# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and +# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and # hereby submitted to the public domain -# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING -# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ +# Thanks to Niels Horn for correcting the CFLAGS. + +# THIS SLACKBUILD IS DISTRIBUTETD IN THE HOPE OF BEING +# USEFUL BUT WITHOUT ANY WARRANTY. THE AUTHOR IS _NOT_ # RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT. -PRGNAM=primer3 +PRGNAM=primer3 VERSION=${VERSION:-2.2.3} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} +BUILD=${BUILD:-2} +TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -62,9 +64,9 @@ sed -i "/^CFLAGS/s/=/+=/" Makefile CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ - make +make -# This is recommended, but the tests take a really long time. +# This is recommended, but the tests take a really long time. # Be patient if you uncomment the next line. # make test @@ -74,14 +76,16 @@ install -D -m755 ntdpal $PKG/usr/bin/ntdpal install -D -m755 ntthal $PKG/usr/bin/ntthal install -D -m755 oligotm $PKG/usr/bin/oligotm -cd .. +# eprimer32 from EMBOSS expects the binary to be called primer32_core +ln -s primer3_core $PKG/usr/bin/primer32_core +cd $TMP/$PRGNAM-$VERSION 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/doc/$PRGNAM-$VERSION cp -a \ - COPYING.txt example primer3_manual.htm \ + src/release_notes.txt COPYING.txt example primer3_manual.htm \ $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 diff --git a/academic/primer3/primer3.info b/academic/primer3/primer3.info index c87f77efde..bb38d6de15 100644 --- a/academic/primer3/primer3.info +++ b/academic/primer3/primer3.info @@ -7,4 +7,4 @@ DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Petar Petrov" EMAIL="ppetrov@paju.oulu.fi" -APPROVED="Niels Horn" +APPROVED="Niels Horn,Erik Hanson" |