diff options
author | Max Horn | 2010-05-07 11:18:18 +0000 |
---|---|---|
committer | Max Horn | 2010-05-07 11:18:18 +0000 |
commit | 3ebf0f5fce6ae554253d7ec86b6a7938e0a5a127 (patch) | |
tree | 84d1a516abe2e4abfe70c5a72a92af05619e2b4b /dists/slackware | |
parent | 2dd34a2123c053ec2c61c6885ca2f54a84fb15f3 (diff) | |
download | scummvm-rg350-3ebf0f5fce6ae554253d7ec86b6a7938e0a5a127.tar.gz scummvm-rg350-3ebf0f5fce6ae554253d7ec86b6a7938e0a5a127.tar.bz2 scummvm-rg350-3ebf0f5fce6ae554253d7ec86b6a7938e0a5a127.zip |
Update scummvm.SlackBuild based on discussion with Robert Kelsen
svn-id: r48963
Diffstat (limited to 'dists/slackware')
-rwxr-xr-x | dists/slackware/scummvm.SlackBuild | 35 | ||||
-rwxr-xr-x | dists/slackware/scummvm.SlackBuild.in | 35 |
2 files changed, 16 insertions, 54 deletions
diff --git a/dists/slackware/scummvm.SlackBuild b/dists/slackware/scummvm.SlackBuild index 5838595213..220aa4ad08 100755 --- a/dists/slackware/scummvm.SlackBuild +++ b/dists/slackware/scummvm.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # ScummVM Slackware 9(.1) Package Creation Script -# by Jay Lanagan - roni@parodius.com +# Initial version by Jay Lanagan <roni@parodius.com> +# Updated by Robert Kelsen <rkelsen@optusnet.com.au> CWD=`pwd` if [ "$TMP" = "" ]; then @@ -19,37 +20,17 @@ if [ ! -d $PKG ]; then mkdir -p $PKG fi -cd $TMP -# tar xzvf scummvm-$VERSION.tgz -tar xzvf scummvm-$VERSION.tar.gz -# cd scummvm-$VERSION -cd scummvm -chown -R root.root . -CXXFLAGS="-O2 -march=i486 -mcpu=i686" \ -./configure +#cd $TMP +tar xvf scummvm-$VERSION.tar.bz2 +cd scummvm-$VERSION +./configure --prefix=/usr --bindir=/usr/games make strip scummvm -chmod 755 scummvm -mkdir -p $PKG/usr/bin -cp scummvm $PKG/usr/bin -chown -R root:bin $PKG/usr/bin -gzip -9 dists/scummvm.6 -mkdir -p $PKG/usr/man/man6 -cp dists/scummvm.6.gz $PKG/usr/man/man6 -mkdir -p $PKG/usr/doc/scummvm-$VERSION -cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README TODO \ - $PKG/usr/doc/scummvm-$VERSION -chmod 644 $PKG/usr/doc/scummvm-$VERSION +make install DESTDIR=$PKG mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -mkdir -p $PKG/usr/share/pixmaps -cp -a icons/scummvm.ico icons/scummvm.xpm \ - $PKG/usr/share/pixmaps -mkdir -p $PKG/usr/share/applications -cp -a dists/scummvm.desktop \ - $PKG/usr/share/applications - cd $PKG +chown -R root.root . makepkg -l y -c n $TMP/scummvm-$VERSION-$ARCH-$BUILD.tgz if [ "$1" = "--cleanup" ]; then diff --git a/dists/slackware/scummvm.SlackBuild.in b/dists/slackware/scummvm.SlackBuild.in index 8e20020a4d..134b74aa30 100755 --- a/dists/slackware/scummvm.SlackBuild.in +++ b/dists/slackware/scummvm.SlackBuild.in @@ -1,6 +1,7 @@ #!/bin/sh # ScummVM Slackware 9(.1) Package Creation Script -# by Jay Lanagan - roni@parodius.com +# Initial version by Jay Lanagan <roni@parodius.com> +# Updated by Robert Kelsen <rkelsen@optusnet.com.au> CWD=`pwd` if [ "$TMP" = "" ]; then @@ -19,37 +20,17 @@ if [ ! -d $PKG ]; then mkdir -p $PKG fi -cd $TMP -# tar xzvf scummvm-$VERSION.tgz -tar xzvf scummvm-$VERSION.tar.gz -# cd scummvm-$VERSION -cd scummvm -chown -R root.root . -CXXFLAGS="-O2 -march=i486 -mcpu=i686" \ -./configure +#cd $TMP +tar xvf scummvm-$VERSION.tar.bz2 +cd scummvm-$VERSION +./configure --prefix=/usr --bindir=/usr/games make strip scummvm -chmod 755 scummvm -mkdir -p $PKG/usr/bin -cp scummvm $PKG/usr/bin -chown -R root:bin $PKG/usr/bin -gzip -9 dists/scummvm.6 -mkdir -p $PKG/usr/man/man6 -cp dists/scummvm.6.gz $PKG/usr/man/man6 -mkdir -p $PKG/usr/doc/scummvm-$VERSION -cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README TODO \ - $PKG/usr/doc/scummvm-$VERSION -chmod 644 $PKG/usr/doc/scummvm-$VERSION +make install DESTDIR=$PKG mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -mkdir -p $PKG/usr/share/pixmaps -cp -a icons/scummvm.ico icons/scummvm.xpm \ - $PKG/usr/share/pixmaps -mkdir -p $PKG/usr/share/applications -cp -a dists/scummvm.desktop \ - $PKG/usr/share/applications - cd $PKG +chown -R root.root . makepkg -l y -c n $TMP/scummvm-$VERSION-$ARCH-$BUILD.tgz if [ "$1" = "--cleanup" ]; then |