mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
academic/genpak: Fix to place libs in the correct directory.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
f78e9c997a
commit
e01121e143
2 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue