Browse Source

xap/pcsxr: Upgraded to pcsxr-1.9.94.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
54f32c8aed
  1. 1
      xap/pcsxr/pcsxr-1.9.93.tar.bz2.sha1
  2. 22
      xap/pcsxr/pcsxr.SlackBuild
  3. 1
      xap/pcsxr/pcsxr_1.9.94.orig.tar.xz.sha256

1
xap/pcsxr/pcsxr-1.9.93.tar.bz2.sha1

@ -1 +0,0 @@
7b69d16c2a562ee986fd1723e67bff2d7f6e10ba pcsxr-1.9.93.tar.bz2

22
xap/pcsxr/pcsxr.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012 Damien Goutte-Gattat
# Copyright (C) 2012,2017 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,9 +26,9 @@
# Source package infos
NAMESRC=${NAMESRC:-pcsxr}
VERSION=${VERSION:-1.9.93}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=pcsxr&DownloadId=722114&FileTime=130220301656670000&Build=20841}
VERSION=${VERSION:-1.9.94}
ARCHIVE=${ARCHIVE:-${NAMESRC}_${VERSION}.orig.tar.xz}
WGET=${WGET:-http://http.debian.net/debian/pool/main/p/pcsxr/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-pcsxr}
@ -75,7 +75,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -83,12 +83,14 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
autoreconf -f -i
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./autogen.sh \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man
--mandir=/usr/man \
--enable-opengl
make -j $JOBS
make install-strip DESTDIR=$PKG
@ -96,9 +98,9 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog ChangeLog.df NEWS README \
doc/keys.txt doc/tweaks.txt $PKG/usr/doc/$NAME
mkdir -p $PKG/usr/doc/$NAMESRC-$VERSION
install -m 644 AUTHORS COPYING ChangeLog ChangeLog.df README \
doc/keys.txt doc/tweaks.txt $PKG/usr/doc/$NAMESRC-$VERSION
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

1
xap/pcsxr/pcsxr_1.9.94.orig.tar.xz.sha256

@ -0,0 +1 @@
8a366b68a7c236443aa75b422bea84b5115f8d8c23e5a78fd6951e643e90f660 pcsxr_1.9.94.orig.tar.xz
Loading…
Cancel
Save