diff options
author | Petar Petrov <ppetrov@paju.oulu.fi> | 2011-10-04 00:50:34 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-10-11 21:20:26 -0500 |
commit | e01121e14325b5eb15626c51252d781400195f52 (patch) | |
tree | 6bb67a1488aac221f209f4d7e8c2e76a7e8e5d0a /academic/genpak/genpak.SlackBuild | |
parent | f78e9c997abfd7f65e866610eaa57a03be35790f (diff) | |
download | slackbuilds-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/genpak.SlackBuild')
-rw-r--r-- | academic/genpak/genpak.SlackBuild | 19 |
1 files changed, 11 insertions, 8 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 |