summaryrefslogtreecommitdiff
path: root/academic/genpak
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2011-10-04 00:50:34 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-10-11 21:20:26 -0500
commite01121e14325b5eb15626c51252d781400195f52 (patch)
tree6bb67a1488aac221f209f4d7e8c2e76a7e8e5d0a /academic/genpak
parentf78e9c997abfd7f65e866610eaa57a03be35790f (diff)
downloadslackbuilds-e01121e14325b5eb15626c51252d781400195f52.tar.gz
academic/genpak: Fix to place libs in the correct directory.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/genpak')
-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 37a42407ac..e0d6163283 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 0a3511afad..9bb1161833 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"