mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
games/bnes-libretro: Updated for version 2016.12.22_5197b6c.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
63fffc6d62
commit
154430d3d7
3 changed files with 14 additions and 7 deletions
|
@ -1,2 +1,5 @@
|
||||||
bnes is a Nintendo Entertainment System video game system emulator that
|
bnes is a Nintendo Entertainment System video game system emulator that
|
||||||
can be used as a libretro core.
|
can be used as a libretro core.
|
||||||
|
|
||||||
|
To build the debugging symbols use:
|
||||||
|
DEBUG=1 ./bnes-libretro.SlackBuild
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=bnes-libretro
|
PRGNAM=bnes-libretro
|
||||||
LIBNAM=$(echo $PRGNAM | tr - _)
|
LIBNAM=$(echo $PRGNAM | tr - _)
|
||||||
VERSION=${VERSION:-2016.09.04_44b1f2d}
|
VERSION=${VERSION:-2016.12.22_5197b6c}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -57,6 +57,8 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
DEBUG=${DEBUG:-0}
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
|
@ -72,13 +74,15 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
make
|
make DEBUG=$DEBUG
|
||||||
|
|
||||||
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
|
install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so
|
||||||
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
|
install -Dm0644 $LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
if [ "$DEBUG" = "0" ]; then
|
||||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a license README $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a license README $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="bnes-libretro"
|
PRGNAM="bnes-libretro"
|
||||||
VERSION="2016.09.04_44b1f2d"
|
VERSION="2016.12.22_5197b6c"
|
||||||
HOMEPAGE="http://www.libretro.com/"
|
HOMEPAGE="http://www.libretro.com/"
|
||||||
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bnes-libretro-2016.09.04_44b1f2d.tar.xz"
|
DOWNLOAD="http://ks392457.kimsufi.com/orbea/stuff/slackbuilds/src/libretro/bnes-libretro-2016.12.22_5197b6c.tar.xz"
|
||||||
MD5SUM="123a5c22da62c95110f6479c93cedc1b"
|
MD5SUM="e3b0653bb5d4c8a09b1b84cf15d5ee54"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="RetroArch"
|
REQUIRES="RetroArch"
|
||||||
|
|
Loading…
Reference in a new issue