mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
academic/primer3: Build bump, new symlink and misc. cleanup.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
278bd97c4d
commit
95eb3a89b9
2 changed files with 15 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue