mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
games/fceux: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f0295751cf
commit
b4e70c6097
1 changed files with 7 additions and 6 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
PRGNAM=fceux
|
||||
VERSION=${VERSION:-2.2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -70,16 +70,17 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Default prefix is /usr, set our CFLAGS
|
||||
# Set our CFLAGS, move man pages
|
||||
sed -i \
|
||||
-e "s|/local||" \
|
||||
-e "s|'-Wall'|${SLKCFLAGS}, '-Wall'|" \
|
||||
-e "s|/share/man/man6/fceux.6|/man/man6/fceux.6|" \
|
||||
-e "s|/share/man/man6/fceux-net-server.6|/man/man6/fceux-net-server.6|" \
|
||||
SConstruct
|
||||
|
||||
scons
|
||||
scons install -i --prefix=$PKG/usr
|
||||
|
||||
#Install binary
|
||||
install -m 0755 -D bin/$PRGNAM $PKG/usr/games/$PRGNAM
|
||||
#scons install creates usr/share/pixmaps as a regular file, delete that.
|
||||
rm -f $PKG/usr/share/pixmaps
|
||||
|
||||
#install the man page
|
||||
mkdir -p $PKG/usr/man/man6
|
||||
|
|
Loading…
Reference in a new issue