mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +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
|
@ -4,13 +4,15 @@
|
|||
# Written by Petar Petrov, <ppetrov@paju.oulu.fi> and
|
||||
# hereby submitted to the public domain
|
||||
|
||||
# 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
|
||||
VERSION=${VERSION:-2.2.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -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