diff options
author | Hunter Sezen <ovariegata@yahoo.com> | 2017-02-04 23:46:05 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-02-11 07:24:24 +0700 |
commit | 48fc1b7c849c795ea6404a47b45a141de06a8485 (patch) | |
tree | 25d54091b60a1c2684168c77db0732ae77a72848 /games/pcsx-rearmed/pcsx-rearmed.SlackBuild | |
parent | d16df5953966f9f8df8c4866708c1b88553c5b7f (diff) |
games/pcsx-rearmed: Updated for version 2017.01.29_731139f.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/pcsx-rearmed/pcsx-rearmed.SlackBuild')
-rw-r--r-- | games/pcsx-rearmed/pcsx-rearmed.SlackBuild | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild index 03146feebdeb4..d3d996d2ad4e5 100644 --- a/games/pcsx-rearmed/pcsx-rearmed.SlackBuild +++ b/games/pcsx-rearmed/pcsx-rearmed.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=pcsx-rearmed LIBNAM=pcsx_rearmed_libretro -VERSION=${VERSION:-2016.07.30_2629ef2} +VERSION=${VERSION:-2017.01.29_731139f} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,6 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} +# requires patching the Makefile to properly use +# the default CFLAGS and CXXFLAGS are probably fine if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" @@ -55,6 +57,8 @@ else LIBDIRSUFFIX="" fi +DEBUG=${DEBUG:-0} + set -e rm -rf $PKG @@ -70,15 +74,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ -./configure -make -f Makefile.libretro +make -f Makefile.libretro DEBUG=$DEBUG install -Dm0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so 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 \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +if [ "$DEBUG" = "0" ]; then + 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 cp -a AUTHORS ChangeLog* NEWS README.md readme.txt $PKG/usr/doc/$PRGNAM-$VERSION |