summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/amplicon/References2
-rw-r--r--academic/amplicon/amplicon.SlackBuild42
-rw-r--r--academic/amplicon/amplicon.info8
-rw-r--r--academic/amplicon/slack-desc2
4 files changed, 35 insertions, 19 deletions
diff --git a/academic/amplicon/References b/academic/amplicon/References
index cef68629d6..8b07c21822 100644
--- a/academic/amplicon/References
+++ b/academic/amplicon/References
@@ -1,5 +1,3 @@
-References
-
Jarman SN (2004) Amplicon: software for designing PCR primers on aligned
DNA sequences. Bioinformatics 20: 1644-1645.
diff --git a/academic/amplicon/amplicon.SlackBuild b/academic/amplicon/amplicon.SlackBuild
index 715746b531..24ebdf4da9 100644
--- a/academic/amplicon/amplicon.SlackBuild
+++ b/academic/amplicon/amplicon.SlackBuild
@@ -1,19 +1,34 @@
#!/bin/sh
# Slackware build script for amplicon
-# 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_
-# RESPONSIBLE FOR ANY DAMAGE OR DATA LOSS CAUSED BY IT.
+# Copyright 2011 Petar Petrov, ppetrov@paju.oulu.fi
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=amplicon
VERSION=${VERSION:-b09.1}
-ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+ARCH=noarch
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -27,19 +42,20 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-gunzip -c $CWD/Amplicon-Linux-$VERSION.py.gz > amplicon.py
+gunzip -c $CWD/Amplicon-Linux-$VERSION.py.gz > $PRGNAM.py
+unzip $CWD/AmpliconManualb06.zip
# Fix the window size
-sed "s:root.maxsize(965,570):root.maxsize(1400,800):" -i amplicon.py
+sed "s:root.maxsize(965,570):root.maxsize(1400,800):" -i $PRGNAM.py
-install -D -m755 amplicon.py $PKG/usr/bin/amplicon.py
+install -D -m755 $PRGNAM.py $PKG/usr/bin/$PRGNAM.py
-# Manu item and icon
mkdir -p $PKG/usr/share/{applications,pixmaps}
-cp $CWD/amplicon.desktop $PKG/usr/share/applications/
-cp $CWD/amplicon.png $PKG/usr/share/pixmaps
+cp $CWD/$PRGNAM.desktop $PKG/usr/share/applications/
+cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AmpliconManualVersion2.doc $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
diff --git a/academic/amplicon/amplicon.info b/academic/amplicon/amplicon.info
index baf1232189..ff5ecfc895 100644
--- a/academic/amplicon/amplicon.info
+++ b/academic/amplicon/amplicon.info
@@ -1,10 +1,12 @@
PRGNAM="amplicon"
VERSION="b09.1"
HOMEPAGE="http://amplicon.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/amplicon/Amplicon-Linux-b09.1.py.gz"
-MD5SUM="43e6bedbe16b7f423a88286910f8749a"
+DOWNLOAD="http://downloads.sourceforge.net/amplicon/Amplicon-Linux-b09.1.py.gz \
+ http://sourceforge.net/projects/amplicon/files/amplicon/Amplicon_b08/AmpliconManualb06.zip"
+MD5SUM="43e6bedbe16b7f423a88286910f8749a \
+ 87d6f55a9adbbd85b50f8fd94fd3988b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
-APPROVED="Niels Horn"
+APPROVED="rworkman"
diff --git a/academic/amplicon/slack-desc b/academic/amplicon/slack-desc
index e3c789afa1..d86f88d8f7 100644
--- a/academic/amplicon/slack-desc
+++ b/academic/amplicon/slack-desc
@@ -14,6 +14,6 @@ amplicon: useful for designing 'group-specific' PCR primer sets that produce
amplicon: amplicons from a targer group of species, but not from other groups
amplicon: of species.
amplicon:
-amplicon:
amplicon: References: /usr/doc/amplicon-$VERSION/References
amplicon: Home: http://amplicon.sourceforge.net/
+amplicon: