summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Petar Petrov <ppetrov@paju.oulu.fi>2011-12-22 22:43:34 -0600
committer Niels Horn <niels.horn@slackbuilds.org>2011-12-23 14:05:43 -0200
commit7bf998ee43c7d4f26d1343053a745531f23c072d (patch)
tree06a17c8aa41da0b2e7880652bf6633f88ae46ba0
parent87040b6af56d8944a35142fe2628c2aacbbd802e (diff)
downloadslackbuilds-7bf998ee43c7d4f26d1343053a745531f23c072d.tar.gz
slackbuilds-7bf998ee43c7d4f26d1343053a745531f23c072d.tar.xz
academic/staden: Added (DNA sequence assembly, editing, and analysis tools)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--academic/staden/README27
-rw-r--r--academic/staden/References117
-rw-r--r--academic/staden/desktop/gap4.desktop7
-rw-r--r--academic/staden/desktop/gap5.desktop7
-rw-r--r--academic/staden/desktop/pregap4.desktop7
-rw-r--r--academic/staden/desktop/spin.desktop7
-rw-r--r--academic/staden/desktop/trev.desktop7
-rw-r--r--academic/staden/doinst.sh3
-rw-r--r--academic/staden/slack-desc19
-rw-r--r--academic/staden/staden.SlackBuild157
-rw-r--r--academic/staden/staden.info16
-rw-r--r--academic/staden/staden.pngbin0 -> 3953 bytes
12 files changed, 374 insertions, 0 deletions
diff --git a/academic/staden/README b/academic/staden/README
new file mode 100644
index 0000000000..58460934c6
--- /dev/null
+++ b/academic/staden/README
@@ -0,0 +1,27 @@
+The programs part of the Staden package provide a fully developed set
+of DNA sequence assembly, editing, analysis and more.
+
+Some of its features include:
+GAP4 - Performs assembly, contig joining, assembly checking, repeat search,
+ experiment suggestion, read pair analysis and contig editing.
+GAP5 - The new development version of Gap4, designed to work with the large
+ volumes of data attainable through the newer sequencing technologies.
+PREGAP4 - Provides a graphical user interface to set up the processing
+ required to prepare trace data for assembly or analysis.
+SPIN - Compares pairs of sequences in many ways, often presenting its results
+ graphically and has a sliding sequence window linked to the plots.
+TREV - A rapid and flexible viewer and editor for ABI, ALF or SCF trace files.
+
+For more information and citing, visit Staden's web page and check the
+"References" file in the documentation.
+
+This requires io_lib and tklib.
+
+Notes:
+1) You should run the SlackBuild in real root environment (su -)!
+2) Make sure you have Emacs and Tetex installed, as they are needed
+ to generate the documentation.
+3) Slackware's TCL and TK sources are expected to be in /tmp at build
+ time. The SlackBuild will unpack them in the build directory and
+ create the necessary symlinks in /tmp. You can safely delete the
+ symlinks when the build is complete.
diff --git a/academic/staden/References b/academic/staden/References
new file mode 100644
index 0000000000..a08f2a4763
--- /dev/null
+++ b/academic/staden/References
@@ -0,0 +1,117 @@
+Recent publications from the group include:
+
+ Bonfield, James K. and Whitwham, Andrew. Gap5 - editing the billion fragment sequence assembly. Bioinformatics 26, 1699-1703, (2010)
+
+ Rodger Staden, David P. Judge and James K. Bonfield. Managing Sequencing Projects in the GAP4 Environment. Introduction to Bioinformatics. A Theoretical and Practical Approach. Eds. Stephen A. Krawetz and David D. Womble. Human Press Inc., Totawa, NJ 07512 (2003)
+
+ Rodger Staden, David P. Judge and James K. Bonfield. Analysing Sequences Using the Staden Package and EMBOSS. Introduction to Bioinformatics. A Theoretical and Practical Approach. Eds. Stephen A. Krawetz and David D. Womble. Human Press Inc., Totawa, NJ 07512 (2003)
+
+ Bonfield, James K. and Staden, Rodger. ZTR: a new format for DNA sequence trace data. Bioinformatics 18, 3-10, (2002).
+
+ Bonfield, James, K., Beal, Kathryn F., Betts, Matthew J. and Staden, Rodger. Trev: a DNA trace editor and viewer. Bioinformatics 18, 194-195, (2002)
+
+ Rodger Staden, David P. Judge and James K. Bonfield SEQUENCE ASSEMBLY AND FINISHING METHODS Bioinformatics. A Practical Guide to the Analysis of Genes and Proteins. Second Edition Eds. Andreas D. Baxevanis and B. F. Francis Ouellette. John Wiley & Sons, New York, NY, USA.
+
+ The C. elegans Sequencing Consortium. Genome Sequence of the Nematode C. elegans: A Platform for Investigating Biology. Science 282, 2012-2018 (1998)
+
+ Rodger Staden, Kathryn F. Beal and James K. Bonfield The Staden Package, 1998. Computer Methods in Molecular Biology, pages 115-130, vol. 132: Bioinformatics Methods and Protocols Eds Stephen Misener and Steve A. Krawetz. The Humana Press Inc., Totowa, NJ 07512
+
+ Bonfield, J.K., Rada, C. and Staden, R. Automated detection of point mutations using flourescent sequence trace subtraction. Nucleic Acids Res. 26, 3404-3409 (1998)
+
+ Flint, J., Sims, M., Clark, K., Staden, R. and Thomas, K. An Oligo-Screening Strategy to Fill Gaps Found During Shotgun Sequencing Projects. DNA Sequence 8, 241-245 (1998)
+
+ Staden, R. The Staden Sequence Analysis Package. Molecular Biotechnology 5, 233-241 (1996)
+
+ Bonfield, J.K. and Staden, R. Experiment files and their application during large-scale sequencing projects. DNA Sequence 6, 109-117 (1996)
+
+ Staden, R. Indexing and using sequence databases. Methods in Enzymology 266, 105-114 (1996)
+
+ Bonfield, J.K., Smith, K.F. and Staden, R. A new DNA sequence assembly program. Nucleic Acids Res. 23, 4992-4999 (1995)
+
+ Bonfield, J.K. and Staden, R. The application of numerical estimates of base calling accuracy to DNA sequencing projects. Nucleic Acids Res. 23, 1406-1410 (1995)
+
+ Dear, S. and Staden, R. A standard file format for data from DNA sequencing instruments. DNA Sequence 3, 107-110 (1992)
+
+ Staden, R. and Dear, S. Indexing the sequence libraries: Software providing a common indexing system for all the standard sequence libraries. DNA Sequence 3, 99-105 (1992).
+
+ Dear, S. and Staden, R. A sequence assembly and editing program for efficient management of large projects. Nucleic Acid Res. 19, 3907-3911 (1991).
+
+ Staden, R. Screening protein and nucleic acid sequences against libraries of patterns. DNA Sequence 1, 369-374 (1991).
+
+ Gleeson TJ, Staden R. An X windows and UNIX implementation of our sequence analysis package. Comput Applic Biosci. 7, 398 (1991)
+
+ Gleeson, T. and Hillier, L. A trace display and editing program for data from fluorescence based sequencing machines Nuc. Acids Res. 19, 6481-6483 (1991)
+
+ Staden, R. Searching for patterns in protein and nucleic acid sequences. Methods in Enzymology 183, 193-211. (1990).
+
+ Staden, R. Finding protein coding regions in genomic sequences. Methods in Enzymology 183, 163-180. (1990).
+
+Older publications relating to the package include:
+
+ Staden, R. Methods for discovering novel motifs in nucleic acid sequences. Comput Applic Biosc 5, 293-298 (1989)
+
+ Staden R, Methods for calculating the probabilities of finding patterns in sequences. Comput Applic Biosci 5 89-96 (1989)
+
+ Staden R, Methods to define and locate patterns of motifs in sequences. Comput Applic Biosci 4, 53-60 (1988)
+
+ Staden, R. Computer methods to locate genes and signals in nucleic acid sequences. In Genetic Engineering Principles and Methods, vol 7, pages 67-114, Eds Setlow, J.K. and Hollaender, A, Plenum, NY, USA (1985).
+
+ McLachlan AD, Staden R, Boswell DR. A method for measuring the non-random bias of a codon usage table. Nucleic Acids Res. 12, 9567-75. (1984)
+
+ Staden, R. Graphic methods to determine the function of nucleic acid sequences. Nucleic Acid Res. 12, 521-538 (1984)
+
+ Staden, R. Computer methods to locate signals in nucleic acid sequences. Nucleic Acid Res. 12, 505-519 (1984)
+
+ Staden, R. A computer program to enter DNA gel reading data into a computer. Nucleic Acid Res. 12, 499-503 (1984)
+
+ Staden, R. Measurements of the effects that coding for a protein has on a DNA sequence and their use for finding genes. Nucleic Acid Res. 12, 551-567 (1984)
+
+ Staden, R. and McLachlan, A.D. Codon preference and its use in identifying protein coding regions in long DNA sequences. Nucleic Acid Res. 10 141-156 (1982)
+
+ Staden, R. Automation of the computer handling of gel reading data produced by the shotgun method of DNA sequencing. Nucleic Acid Res. 10, 4731-4751 (1982)
+
+ Staden, R. An interactive graphics program for comparing and aligning nucleic acid and amino acid sequences. Nucleic Acid Res. 10, 2951-2961 (1982)
+
+ Staden, R. A new computer method for the storage and manipulation of DNA gel reading data. Nucleic Acid Res. 8, 3673-3694 (1980)
+
+ Staden, R. A computer program to search for tRNA genes. Nucleic Acid Res. 8, 817-825 (1980)
+
+ Staden R. A strategy of DNA sequencing employing computer programs. Nucleic Acids Res. 6, 2601-10 (1979)
+
+ Staden R. Further procedures for sequence analysis by computer Nucleic Acids Res. 5, 1013-1016 (1978)
+
+ Staden R. Sequence data handling by computer Nucleic Acids Res. 4, 4037-4051 (1977)
+
+Other papers by Rodger Staden
+
+ Cesar Milstein, Michael S. Neuberger and Rodger Staden. Both DNA strands of antibody genes are hypermutation targets. Proc. Natl. Acad. Sci. USA, 95, 8791-8794 (1998)
+
+ Perutz MF, Staden R, Moens L and De Baere I. Polar Zippers Current Biology 3, 249-253 (1993)
+
+ Sulston J, Du Z, Thomas K, Wilson R, Hillier L, Staden R, Halloran N, Green P, Thierry-Mieg J, Qiu L, et al. The C. elegans genome sequencing project: a beginning Nature 356, 37-41 (1992)
+
+ Honess RW, Gompels UA, Barrell BG, Craxton M, Cameron KR, Staden R, Chang YN, Hayward GS. Deviations from expected frequencies of CpG dinucleotides in herpesvirus DNAs may be diagnostic of differences in the states of their latent genomes J Gen Virol. 70 (Pt 4) 837-55 (1989)
+
+ Sulston J, Mallett F, Staden R, Durbin R, Horsnell T, Coulson A. Software for genome mapping by fingerprinting techniques. Comput Applic Biosci. 4 125-32 (1988)
+
+ Anderson S, Bankier AT, Barrell BG, de Bruijn MH, Coulson AR, Drouin J, Eperon IC, Nierlich DP, Roe BA, Sanger F, Schreier PH, Smith AJ, Staden R, Young IG. Comparison of the Human and Bovine Mitochondrial Genomes Mitochondrial Genes, 5-43, Cold Spring Harbor Laboratory, USA (1982)
+
+ Woo SL, Beattie WG, Catterall JF, Dugaiczyk A, Staden R, Brownlee GG, O'Malley BW. Complete nucleotide sequence of the chicken chromosomal ovalbumin gene and its biological significance Biochemistry 20, 6437-46 (1981)
+
+ Griffin BE, Soeda E, Barrell BG, Staden R. Sequences and analysis of polyoma virus DNA. In Tooze J (ed) DNA tumor viruses, 2nd edn. Cold Spring Harbor Laboratory, New York, pp 843-910 (1981)
+
+ Anderson S, Bankier AT, Barrell BG, de Bruijn MH, Coulson AR, Drouin J, Eperon IC, Nierlich DP, Roe BA, Sanger F, Schreier PH, Smith AJ, Staden R, Young IG. Sequence and organization of the human mitochondrial genome Nature. 290, 457-65 (1981)
+
+ Barrell BG, Anderson S, Bankier AT, de Bruijn MH, Chen E, Coulson AR, Drouin J, Eperon IC, Nierlich DP, Roe BA, Sanger F, Schreier PH, Smith AJ, Staden R, Young IG. Sequence of Mammalian Mitochondrial DNA Colloquium der Gesellscaft fur Biologische Chemie, 14-19 April 1980 in Mosbach/Baden, 11-25, (1980).
+
+ Barrell BG, Anderson S, Bankier AT, de Bruijn MH, Chen E, Coulson AR, Drouin J, Eperon IC, Nierlich DP, Roe BA, Sanger F, Schreier PH, Smith AJ, Staden R, Young IG. Different pattern of codon recognition by mammalian mitochondrial tRNAs Proc Natl Acad Sci U S A. 77 3164-6 (1980)
+
+ Robertson MA, Staden R, Tanaka Y, Catterall JF, O'Malley BW, Brownlee GG. Sequence of three introns in the chick ovalbumin gene Nature 278, 370-372 (1979)
+
+ Godson GN, Barrell BG, Staden R, Fiddes JC. Nucleotide sequence of bacteriophage G4 DNA Nature 276, 236-247 (1978)
+
+ Catterall JF, O'Malley BW, Robertson MA, Staden R, Tanaka Y, Brownlee GG. Nucleotide sequence homology at 12 intron--exon junctions in the chick ovalbumin gene Nature 275, 510-513 (1978)
+
+ Bloomer AC, Champness JN, Bricogne G, Staden R and Klug A Protein disk of tobacco mosaic virus at 2.8A resolution showing the interactions within and between subunits Nature 276, 362-368 (1978)
+
+Observation test: did you spot the co-authors who, so far, have won 6 Nobel prizes?
diff --git a/academic/staden/desktop/gap4.desktop b/academic/staden/desktop/gap4.desktop
new file mode 100644
index 0000000000..1a07a8a378
--- /dev/null
+++ b/academic/staden/desktop/gap4.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Categories=Education;
+Exec=gap4
+Icon=staden
+Name=Staden Package GAP4
+StartupNotify=false
+Type=Application
diff --git a/academic/staden/desktop/gap5.desktop b/academic/staden/desktop/gap5.desktop
new file mode 100644
index 0000000000..383388c8bb
--- /dev/null
+++ b/academic/staden/desktop/gap5.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Categories=Education;
+Exec=gap5
+Icon=staden
+Name=Staden Package GAP5
+StartupNotify=false
+Type=Application
diff --git a/academic/staden/desktop/pregap4.desktop b/academic/staden/desktop/pregap4.desktop
new file mode 100644
index 0000000000..645cf11968
--- /dev/null
+++ b/academic/staden/desktop/pregap4.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Categories=Education;
+Exec=pregap4
+Icon=staden
+Name=Staden Package PREGAP4
+StartupNotify=false
+Type=Application
diff --git a/academic/staden/desktop/spin.desktop b/academic/staden/desktop/spin.desktop
new file mode 100644
index 0000000000..b220336034
--- /dev/null
+++ b/academic/staden/desktop/spin.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Categories=Education;
+Exec=spin
+Icon=staden
+Name=Staden Package SPIN
+StartupNotify=false
+Type=Application
diff --git a/academic/staden/desktop/trev.desktop b/academic/staden/desktop/trev.desktop
new file mode 100644
index 0000000000..cc620d24c5
--- /dev/null
+++ b/academic/staden/desktop/trev.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Categories=Education;
+Exec=trev
+Icon=staden
+Name=Staden Package TREV
+StartupNotify=false
+Type=Application
diff --git a/academic/staden/doinst.sh b/academic/staden/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/academic/staden/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/academic/staden/slack-desc b/academic/staden/slack-desc
new file mode 100644
index 0000000000..f0feac9ff7
--- /dev/null
+++ b/academic/staden/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+staden: staden (DNA sequence assembly, editing, and analysis tools)
+staden:
+staden: The programs of the Staden package offer excellent and fully
+staden: developed set of DNA sequence assembly, editing, analysis
+staden: tools and more.
+staden:
+staden: Homepage: http://staden.sourceforge.net/
+staden:
+staden:
+staden:
+staden:
diff --git a/academic/staden/staden.SlackBuild b/academic/staden/staden.SlackBuild
new file mode 100644
index 0000000000..a950d643ef
--- /dev/null
+++ b/academic/staden/staden.SlackBuild
@@ -0,0 +1,157 @@
+#!/bin/sh
+
+# Slackware build script for staden
+
+# 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=staden
+VERSION=${VERSION:-2.0.0b9}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+SLKTCL=tcl8.5.9 # Slackware 13.37 sources for TCL
+SLKTK=tk8.5.9 # Slackware 13.37 sources for TK
+TKLIB=tklib0.5 # Folder name of TKLIB libraries, see line 117.
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+set -e
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION-src.tar.gz
+tar xvf $CWD/${PRGNAM}_doc-$VERSION-src.tar.gz
+
+# The sources of TCL and TK are expected to be in /tmp at build time,
+# so we unpack them in the build directory and create symlinks in /tmp.
+rm -f /tmp/$SLKTCL
+rm -f /tmp/$SLKTK
+tar xvf $CWD/$SLKTCL-src.tar.xz
+tar xvf $CWD/$SLKTK-src.tar.xz
+ln -s $TMP/$PRGNAM-$VERSION/$SLKTCL /tmp/$SLKTCL
+ln -s $TMP/$PRGNAM-$VERSION/$SLKTK /tmp/$SLKTK
+
+chown -R root:root $PRGNAM-$VERSION-src ${PRGNAM}_doc-$VERSION-src
+find $PRGNAM-$VERSION-src ${PRGNAM}_doc-$VERSION-src \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+cd $PRGNAM-$VERSION-src
+# On Slackware64, the components of staden (like GAP4, GAP5, PREGAP4,
+# SPIN, TREV) will not run, as they still expect their libraries to be
+# in /usr/lib not /usr/lib64. Let's correct the libraries path.
+sed -i "s:$STADENROOT/lib:$STADENROOT/lib${LIBDIRSUFFIX}:g" \
+ global.mk staden.profile copy_reads/copy_reads gap4/gap4 gap5/gap5 \
+ gap5/gap5_consensus gap5/gap5_export gap5/tg_index gap5/tg_view \
+ prefinish/finish_sanger prefinish/prefinish pregap4/pregap4 spin/spin \
+ spin_emboss/create_emboss_files trev/trev
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-tklib=/usr/lib${LIBDIRSUFFIX}/$TKLIB \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+# Build documentation. In the process, texi2dvi looks for tex and
+# that's why the SlackBuild should be run as real root (su -).
+# ## (or just source /etc/profile ) --rworkman
+cd ../${PRGNAM}_doc-$VERSION-src
+
+# Fix the doc and man pages paths
+sed "s:{datarootdir}/doc/staden:{prefix}/doc/$PRGNAM-$VERSION:" -i Makefile
+sed "s:{datarootdir}/man:{prefix}/man:" -i Makefile
+
+# Remove this, or there will be an error at the "make install" line.
+rm -rf i/i
+
+# Generate documentation. If you want it in the US letter format,
+# change the next line to "make unix PAPER=us".
+make unix
+make install DESTDIR=$PKG
+
+# Now that we're done building, let's remove those symlinks from earlier...
+rm -f /tmp/$SLKTCL /tmp/$SLKTK
+
+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
+
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+
+mkdir -p $PKG/usr/share/{applications,pixmaps}
+cp $CWD/desktop/* $PKG/usr/share/applications
+cp $CWD/$PRGNAM.png $PKG/usr/share/pixmaps
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cd ../$PRGNAM-$VERSION-src
+cp -a ChangeLog NEWS README.build $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
+# Staden components expect the manual to be in /usr/share/doc/staden.
+ln -s $PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM
+rm -rf $PKG/usr/share/doc # This is empty
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/academic/staden/staden.info b/academic/staden/staden.info
new file mode 100644
index 0000000000..90c74348c5
--- /dev/null
+++ b/academic/staden/staden.info
@@ -0,0 +1,16 @@
+PRGNAM="staden"
+VERSION="2.0.0b9"
+HOMEPAGE="http://staden.sourceforge.net/"
+DOWNLOAD="http://sourceforge.net/projects/staden/files/staden/2.0.0b9/staden-2.0.0b9-src.tar.gz \
+ http://sourceforge.net/projects/staden/files/staden/2.0.0b9/staden_doc-2.0.0b9-src.tar.gz \
+ http://slackware.osuosl.org/slackware-13.37/source/tcl/tcl/tcl8.5.9-src.tar.xz \
+ http://slackware.osuosl.org/slackware-13.37/source/tcl/tk/tk8.5.9-src.tar.xz"
+MD5SUM="94dc304b00d18b95f783136c9ffd934f \
+ 730b433d8344624925b662ec37ac0804 \
+ c1e4eea4afdd9a8f8888d5b7c481122d \
+ 78b59df55904095af40d64a0cd08c50d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Petar Petrov"
+EMAIL="ppetrov@paju.oulu.fi"
+APPROVED="rworkman"
diff --git a/academic/staden/staden.png b/academic/staden/staden.png
new file mode 100644
index 0000000000..d57d0e1bcb
--- /dev/null
+++ b/academic/staden/staden.png
Binary files differ