Ticket #8309: scummvm-slackbuild.diff

File scummvm-slackbuild.diff, 2.4 KB (added by SF/r0ni, 20 years ago)

patch

  • dists/slackware/scummvm.SlackBuild

     
     1#!/bin/sh
     2# ScummVM Slackware 9(.1) Package Creation Script
     3# by Jay Lanagan - roni@parodius.com
     4
     5CWD=`pwd`
     6if [ "$TMP" = "" ]; then
     7  TMP=/tmp
     8fi
     9PKG=$TMP/package-scummvm
     10
     11#VERSION=0.5.1
     12VERSION=20031221
     13ARCH=i486
     14BUILD=1
     15
     16if [ ! -d $TMP ]; then
     17  mkdir -p $TMP
     18fi
     19if [ ! -d $PKG ]; then
     20  mkdir -p $PKG
     21fi
     22
     23cd $TMP
     24# tar xzvf scummvm-$VERSION.tgz
     25tar xzvf scummvm-$VERSION.tar.gz
     26# cd scummvm-$VERSION
     27cd scummvm
     28chown -R root.root .
     29CXXFLAGS="-O2 -march=i486 -mcpu=i686" \
     30./configure
     31make
     32strip scummvm
     33chmod 755 scummvm
     34mkdir -p $PKG/usr/bin
     35cp scummvm $PKG/usr/bin
     36chown root:bin $PKG/usr/bin/scummvm
     37gzip -9 scummvm.6
     38mkdir -p $PKG/usr/man/man6
     39cp scummvm.6.gz $PKG/usr/man/man6
     40mkdir -p $PKG/usr/doc/scummvm-$VERSION
     41cp -a COPYING ChangeLog NEWS README TODO \
     42  $PKG/usr/doc/scummvm-$VERSION
     43chmod 644 $PKG/usr/doc/scummvm-$VERSION
     44mkdir -p $PKG/install
     45cat $CWD/slack-desc > $PKG/install/slack-desc
     46
     47cd $PKG
     48makepkg -l y -c n $TMP/scummvm-$VERSION-$ARCH-$BUILD.tgz
     49
     50if [ "$1" = "--cleanup" ]; then
     51  rm -rf $TMP/scummvm-$VERSION
     52  rm -rf $PKG
     53fi
  • 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------------------------------------------------------|
     9scummvm: ScummVM
     10scummvm:
     11scummvm: ScummVM is a collection of interpreters, capable of emulating
     12scummvm: several adventure game engines. ScummVM mainly supports engines
     13scummvm: created using SCUMM (Script Creation Utility for Maniac Mansion),
     14scummvm: used in various LucasArts games such as Monkey Island, Day of the
     15scummvm: Tentacle, and others. ScummVM also contains interpreters for several
     16scummvm: non-SCUMM games, currently these are Beneath a Steel Sky, Broken
     17scummvm: Sword I & II and Simon the Sorcerer 1 & 2.
     18scummvm:
     19scummvm: