diff options
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 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 |