Ticket #8309: scummvm-slackbuild.diff
File scummvm-slackbuild.diff, 2.4 KB (added by , 20 years ago) |
---|
-
dists/slackware/scummvm.SlackBuild
1 #!/bin/sh 2 # ScummVM Slackware 9(.1) Package Creation Script 3 # by Jay Lanagan - roni@parodius.com 4 5 CWD=`pwd` 6 if [ "$TMP" = "" ]; then 7 TMP=/tmp 8 fi 9 PKG=$TMP/package-scummvm 10 11 #VERSION=0.5.1 12 VERSION=20031221 13 ARCH=i486 14 BUILD=1 15 16 if [ ! -d $TMP ]; then 17 mkdir -p $TMP 18 fi 19 if [ ! -d $PKG ]; then 20 mkdir -p $PKG 21 fi 22 23 cd $TMP 24 # tar xzvf scummvm-$VERSION.tgz 25 tar xzvf scummvm-$VERSION.tar.gz 26 # cd scummvm-$VERSION 27 cd scummvm 28 chown -R root.root . 29 CXXFLAGS="-O2 -march=i486 -mcpu=i686" \ 30 ./configure 31 make 32 strip scummvm 33 chmod 755 scummvm 34 mkdir -p $PKG/usr/bin 35 cp scummvm $PKG/usr/bin 36 chown root:bin $PKG/usr/bin/scummvm 37 gzip -9 scummvm.6 38 mkdir -p $PKG/usr/man/man6 39 cp scummvm.6.gz $PKG/usr/man/man6 40 mkdir -p $PKG/usr/doc/scummvm-$VERSION 41 cp -a COPYING ChangeLog NEWS README TODO \ 42 $PKG/usr/doc/scummvm-$VERSION 43 chmod 644 $PKG/usr/doc/scummvm-$VERSION 44 mkdir -p $PKG/install 45 cat $CWD/slack-desc > $PKG/install/slack-desc 46 47 cd $PKG 48 makepkg -l y -c n $TMP/scummvm-$VERSION-$ARCH-$BUILD.tgz 49 50 if [ "$1" = "--cleanup" ]; then 51 rm -rf $TMP/scummvm-$VERSION 52 rm -rf $PKG 53 fi -
dists/slackware/slack-desc
1 # HOW TO EDIT THIS FILE: 2 # The "handy ruler" below makes it easier to edit a package description. Line 3 # up the first '|' above the ':' following the base package name, and the '|' on 4 # the right side marks the last column you can put a character in. You must make 5 # exactly 11 lines for the formatting to be correct. It's also customary to 6 # leave one space after the ':'. 7 8 |-----handy-ruler------------------------------------------------------| 9 scummvm: ScummVM 10 scummvm: 11 scummvm: ScummVM is a collection of interpreters, capable of emulating 12 scummvm: several adventure game engines. ScummVM mainly supports engines 13 scummvm: created using SCUMM (Script Creation Utility for Maniac Mansion), 14 scummvm: used in various LucasArts games such as Monkey Island, Day of the 15 scummvm: Tentacle, and others. ScummVM also contains interpreters for several 16 scummvm: non-SCUMM games, currently these are Beneath a Steel Sky, Broken 17 scummvm: Sword I & II and Simon the Sorcerer 1 & 2. 18 scummvm: 19 scummvm: