summaryrefslogtreecommitdiffstats
path: root/multimedia/vgmplay/vgmplay.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vgmplay/vgmplay.SlackBuild')
-rw-r--r--multimedia/vgmplay/vgmplay.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/multimedia/vgmplay/vgmplay.SlackBuild b/multimedia/vgmplay/vgmplay.SlackBuild
index 8622132823..bb711c82a5 100644
--- a/multimedia/vgmplay/vgmplay.SlackBuild
+++ b/multimedia/vgmplay/vgmplay.SlackBuild
@@ -38,9 +38,6 @@ case "$( uname -m )" in
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -69,9 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION/VGMPlay
+rm -rf $PRGNAM-legacy-$VERSION
+tar xvf $CWD/$PRGNAM-legacy-$VERSION.tar.gz
+cd $PRGNAM-legacy-$VERSION/VGMPlay
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,6 +76,8 @@ 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 {} \;
+SLKCFLAGS+=" -fcommon"
+
make PREFIX=/usr CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/bin $PKG/usr/man/man1 $PKG/usr/share/vgmplay