summaryrefslogtreecommitdiff
path: root/academic/primer3
diff options
context:
space:
mode:
Diffstat (limited to 'academic/primer3')
-rw-r--r--academic/primer3/primer3.SlackBuild24
-rw-r--r--academic/primer3/primer3.info2
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"