diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-13 00:26:51 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:26:51 +0200 |
commit | ed2bf915be154bbb065f66af934c9a5cafb773a8 (patch) | |
tree | 403d9d031d636601ab04383fb850079834754597 /games/pcsx-df/pcsx-df.SlackBuild | |
parent | 7e41819db53a0959282922f5b00d423e5644d444 (diff) | |
download | slackbuilds-ed2bf915be154bbb065f66af934c9a5cafb773a8.tar.gz |
games/pcsx-df: Updated for version 1.9
Diffstat (limited to 'games/pcsx-df/pcsx-df.SlackBuild')
-rw-r--r-- | games/pcsx-df/pcsx-df.SlackBuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/games/pcsx-df/pcsx-df.SlackBuild b/games/pcsx-df/pcsx-df.SlackBuild index 0a6b1bb527..4368ba8d22 100644 --- a/games/pcsx-df/pcsx-df.SlackBuild +++ b/games/pcsx-df/pcsx-df.SlackBuild @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -54,6 +57,11 @@ chmod -R u+w,go+r-w,a-s . patch -p1 -i $CWD/pcsx.pthread.patch +for i in dfbinimage dfcdrom dfinput dfiso dfOpenGL dfsound dfxvideo; do + sed -i "s|\$(prefix)/lib/|\$(prefix)/lib$LIBDIRSUFFIX/|g" \ + plugins/$i/Makefile.am +done + chmod +x ./autogen.sh ./autogen.sh @@ -62,13 +70,13 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib$LIBDIRSUFFIX \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --disable-static \ --disable-nautilusburn \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG @@ -87,4 +95,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |