Browse Source

ap/primer3: Do not rename the primer3_core binary.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
7ca092fb9c
  1. 15
      ap/primer3/primer3.SlackBuild

15
ap/primer3/primer3.SlackBuild

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

Loading…
Cancel
Save