Browse Source

ap/primer3: Upgraded to primer3-2.4.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
49b7780c0c
  1. 1
      ap/primer3/primer3-2.3.7.tar.gz.sha1
  2. 1
      ap/primer3/primer3-2.4.0.tar.gz.sha256
  3. 13
      ap/primer3/primer3.SlackBuild

1
ap/primer3/primer3-2.3.7.tar.gz.sha1

@ -1 +0,0 @@
28d2a35caae249672a19f1f83c1e787525cb455f primer3-2.3.7.tar.gz

1
ap/primer3/primer3-2.4.0.tar.gz.sha256

@ -0,0 +1 @@
6d537640c86e2b4656ae77f75b6ad4478fd0ca43985a56cce531fb9fc0431c47 primer3-2.4.0.tar.gz

13
ap/primer3/primer3.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,7 +27,7 @@
# Source package infos
NAMESRC=${NAMESRC:-primer3}
VERSION=${VERSION:-2.3.7}
VERSION=${VERSION:-2.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/project/primer3/primer3/$VERSION/$ARCHIVE}
@ -74,24 +74,23 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
# Compile
cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAMEPKG-$VERSION
make -j $JOBS -C src O_OPTS="$CPUOPT"
make -j $JOBS -C src O_OPTS="$CPUOPT -fpermissive"
# Install
mkdir -p $PKG/usr/bin
install -s -m 755 src/{primer3_core,oligotm,ntdpal,ntthal,long_seq_tm_test} \
install -s -m 755 src/{ntdpal,ntthal,oligotm,primer3_core,primer3_masker} \
$PKG/usr/bin
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING.txt example primer3_manual.htm src/release_notes.txt \
*_default_settings.txt $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 LICENSE example $PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save