aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--academic/genpak/genpak.SlackBuild19
-rw-r--r--academic/genpak/genpak.info2
2 files changed, 12 insertions, 9 deletions
diff --git a/academic/genpak/genpak.SlackBuild b/academic/genpak/genpak.SlackBuild
index 37a42407ace6d..e0d61632832b2 100644
--- a/academic/genpak/genpak.SlackBuild
+++ b/academic/genpak/genpak.SlackBuild
@@ -10,7 +10,7 @@
PRGNAM=genpak
VERSION=${VERSION:-0.26}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,9 +55,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-#Use our CFLAGS
+# Use our CFLAGS
sed -i "/^CFLAGS/s/=/+=/" Makefile
+# Correct libdir
+sed -i "s:/lib:/lib${LIBDIRSUFFIX}:" Makefile
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make
@@ -87,12 +90,12 @@ install -D -m755 gp_tm $PKG/usr/bin/gp_tm
install -D -m755 gp_trimer $PKG/usr/bin/gp_trimer
cd ../data
-install -D -m644 ecoli.mtx $PKG/usr/lib/genpak/ecoli.mtx
-install -D -m644 enzyme.enz $PKG/usr/lib/genpak/enzyme.enz
-install -D -m644 myco.cdn $PKG/usr/lib/genpak/myco.cdn
-install -D -m644 sample.seq $PKG/usr/lib/genpak/sample.seq
-install -D -m644 standard.cdn $PKG/usr/lib/genpak/standard.cdn
-install -D -m644 mporfs.seq $PKG/usr/lib/genpak/mporfs.seq
+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 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
# Put man pages to their proper place
mkdir -p $PKG/usr/man/man1
diff --git a/academic/genpak/genpak.info b/academic/genpak/genpak.info
index 0a3511afad75b..9bb1161833e8c 100644
--- a/academic/genpak/genpak.info
+++ b/academic/genpak/genpak.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Petar Petrov"
EMAIL="ppetrov@paju.oulu.fi"
-APPROVED="Niels Horn"
+APPROVED="Niels Horn,Erik Hanson"