academic/genpak: Several fixes + adding html.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Petar Petrov 2011-10-29 20:03:22 -02:00 committed by Niels Horn
parent d97b36a82b
commit 672980952c
4 changed files with 11 additions and 6 deletions

View file

@ -6,5 +6,5 @@ determine codon usage / GC contents, do promotor searches, calculate
Tm, search for restriction sites, convert sequences into numerical
representations and much more.
You most likely want to install arka, which provides a GUI for genpak.
arka is also available at SlackBuilds.org.
You most likely want to install arka, which provides a GUI for GenPak.
Arka is also available at SlackBuilds.org.

View file

@ -10,7 +10,7 @@
PRGNAM=genpak
VERSION=${VERSION:-0.26}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -60,6 +60,8 @@ sed -i "/^CFLAGS/s/=/+=/" Makefile
# Correct libdir
sed -i "s:/lib:/lib${LIBDIRSUFFIX}:" Makefile
sed -i "s:/lib:/lib${LIBDIRSUFFIX}:" src/genpak.c
sed -i "s:/lib:/lib${LIBDIRSUFFIX}:" src/genpak.h
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@ -74,6 +76,7 @@ install -D -m755 gp_cusage $PKG/usr/bin/gp_cusage
install -D -m755 gp_digest $PKG/usr/bin/gp_digest
install -D -m755 gp_dimer $PKG/usr/bin/gp_dimer
install -D -m755 gp_findorf $PKG/usr/bin/gp_findorf
install -D -m755 gp_gc $PKG/usr/bin/gp_gc
install -D -m755 gp_getseq $PKG/usr/bin/gp_getseq
install -D -m755 gp_matrix $PKG/usr/bin/gp_matrix
install -D -m755 gp_mkmtx $PKG/usr/bin/gp_mkmtx
@ -93,6 +96,8 @@ cd ../data
install -D -m644 ecoli.mtx $PKG/usr/lib${LIBDIRSUFFIX}/genpak/ecoli.mtx
install -D -m644 enzyme.enz $PKG/usr/lib${LIBDIRSUFFIX}/genpak/enzyme.enz
install -D -m644 myco.cdn $PKG/usr/lib${LIBDIRSUFFIX}/genpak/myco.cdn
install -D -m644 myco.mtx $PKG/usr/lib${LIBDIRSUFFIX}/genpak/myco.mtx
install -D -m644 myco0 $PKG/usr/lib${LIBDIRSUFFIX}/genpak/myco0
install -D -m644 sample.seq $PKG/usr/lib${LIBDIRSUFFIX}/genpak/sample.seq
install -D -m644 standard.cdn $PKG/usr/lib${LIBDIRSUFFIX}/genpak/standard.cdn
install -D -m644 mporfs.seq $PKG/usr/lib${LIBDIRSUFFIX}/genpak/mporfs.seq
@ -110,7 +115,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
CHANGES.TXT INSTALL.TXT LICENSE.TXT README.TXT \
html CHANGES.TXT INSTALL.TXT LICENSE.TXT README.TXT \
$PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
APPROVED="Niels Horn,Erik Hanson"
APPROVED="Erik Hanson,Niels Horn"