summaryrefslogtreecommitdiff
path: root/academic/genpak/genpak.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/genpak/genpak.SlackBuild')
-rw-r--r--academic/genpak/genpak.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/academic/genpak/genpak.SlackBuild b/academic/genpak/genpak.SlackBuild
index e0d6163283..84509b7085 100644
--- a/academic/genpak/genpak.SlackBuild
+++ b/academic/genpak/genpak.SlackBuild
@@ -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