mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
parent
e274286952
commit
491f319dc7
53
dists/slackware/scummvm.SlackBuild
Executable file
53
dists/slackware/scummvm.SlackBuild
Executable file
@ -0,0 +1,53 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# ScummVM Slackware 9(.1) Package Creation Script
|
||||||
|
# by Jay Lanagan - roni@parodius.com
|
||||||
|
|
||||||
|
CWD=`pwd`
|
||||||
|
if [ "$TMP" = "" ]; then
|
||||||
|
TMP=/tmp
|
||||||
|
fi
|
||||||
|
PKG=$TMP/package-scummvm
|
||||||
|
|
||||||
|
#VERSION=0.5.1
|
||||||
|
VERSION=20031221
|
||||||
|
ARCH=i486
|
||||||
|
BUILD=1
|
||||||
|
|
||||||
|
if [ ! -d $TMP ]; then
|
||||||
|
mkdir -p $TMP
|
||||||
|
fi
|
||||||
|
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
|
||||||
|
make
|
||||||
|
strip scummvm
|
||||||
|
chmod 755 scummvm
|
||||||
|
mkdir -p $PKG/usr/bin
|
||||||
|
cp scummvm $PKG/usr/bin
|
||||||
|
chown root:bin $PKG/usr/bin/scummvm
|
||||||
|
gzip -9 scummvm.6
|
||||||
|
mkdir -p $PKG/usr/man/man6
|
||||||
|
cp scummvm.6.gz $PKG/usr/man/man6
|
||||||
|
mkdir -p $PKG/usr/doc/scummvm-$VERSION
|
||||||
|
cp -a COPYING ChangeLog NEWS README TODO \
|
||||||
|
$PKG/usr/doc/scummvm-$VERSION
|
||||||
|
chmod 644 $PKG/usr/doc/scummvm-$VERSION
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
makepkg -l y -c n $TMP/scummvm-$VERSION-$ARCH-$BUILD.tgz
|
||||||
|
|
||||||
|
if [ "$1" = "--cleanup" ]; then
|
||||||
|
rm -rf $TMP/scummvm-$VERSION
|
||||||
|
rm -rf $PKG
|
||||||
|
fi
|
19
dists/slackware/slack-desc
Normal file
19
dists/slackware/slack-desc
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||||
|
# up the first '|' above the ':' following the base package name, and the '|' on
|
||||||
|
# the right side marks the last column you can put a character in. You must make
|
||||||
|
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||||
|
# leave one space after the ':'.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
scummvm: ScummVM
|
||||||
|
scummvm:
|
||||||
|
scummvm: ScummVM is a collection of interpreters, capable of emulating
|
||||||
|
scummvm: several adventure game engines. ScummVM mainly supports engines
|
||||||
|
scummvm: created using SCUMM (Script Creation Utility for Maniac Mansion),
|
||||||
|
scummvm: used in various LucasArts games such as Monkey Island, Day of the
|
||||||
|
scummvm: Tentacle, and others. ScummVM also contains interpreters for several
|
||||||
|
scummvm: non-SCUMM games, currently these are Beneath a Steel Sky, Broken
|
||||||
|
scummvm: Sword I & II and Simon the Sorcerer 1 & 2.
|
||||||
|
scummvm:
|
||||||
|
scummvm:
|
Loading…
x
Reference in New Issue
Block a user