Browse Source

ap/primer3: Upgraded to primer3-2.3.6.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
4da0ae3df2
  1. 1
      ap/primer3/primer3-1.1.4.tar.gz.sha1
  2. 1
      ap/primer3/primer3-src-2.3.6.tar.gz.sha1
  3. 18
      ap/primer3/primer3.SlackBuild

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

@ -1 +0,0 @@
fcabf7d8aa31c5568bd130b318c3ead4a1b9aa3a primer3-1.1.4.tar.gz

1
ap/primer3/primer3-src-2.3.6.tar.gz.sha1

@ -0,0 +1 @@
7dbd33a4e9c2a4fe06c74d6b83f8ff0f9ed1c49a primer3-src-2.3.6.tar.gz

18
ap/primer3/primer3.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008,2009,2010 Damien Goutte-Gattat
# Copyright (C) 2008,2009,2010,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,13 +27,13 @@
# Source package infos
NAMESRC=${NAMESRC:-primer3}
VERSION=${VERSION:-1.1.4}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://switch.dl.sourceforge.net/sourceforge/primer3/$ARCHIVE}
VERSION=${VERSION:-2.3.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-src-$VERSION.tar.gz}
WGET=${WGET:-http://downloads.sourceforge.net/primer3/$ARCHIVE}
# Built package infos
NAMEPKG=${NAMEPKG:-primer3}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -79,19 +79,19 @@ sha1sum -c $ARCHIVE.sha1
# Compile
cd $TMP
echo "Building $ARCHIVE..."
mkdir $NAMEPKG-$VERSION && tar xf $CWD/$ARCHIVE -C $NAMEPKG-$VERSION
tar xf $CWD/$ARCHIVE
cd $NAMEPKG-$VERSION
make -j $JOBS -C src O_OPTS="$CPUOPT"
# Install
mkdir -p $PKG/usr/bin
install -s -m 755 src/{primer3_core,oligotm,ntdpal,long_seq_tm_test} \
install -s -m 755 src/{primer3_core,oligotm,ntdpal,ntthal,long_seq_tm_test} \
$PKG/usr/bin
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 COPYING.txt README.txt how-to-cite.txt example \
src/release_notes.txt $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
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save