summaryrefslogtreecommitdiffstats
path: root/scummvm/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-07-29 18:30:33 +0000
committer Eric Hameleers <alien@slackware.com>2007-07-29 18:30:33 +0000
commit343f56149da1c37a8cbeefa31e14e9bb2804c545 (patch)
treef9b907a53ca564a5391bf1813807290c29e132fe /scummvm/build
parent72a9ea1ebec8f2af9109905f6aedb0975646c02a (diff)
downloadasb-343f56149da1c37a8cbeefa31e14e9bb2804c545.tar.gz
asb-343f56149da1c37a8cbeefa31e14e9bb2804c545.tar.xz
Add the slack-required for mpeg2dec dependency
Diffstat (limited to 'scummvm/build')
-rwxr-xr-xscummvm/build/scummvm.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/scummvm/build/scummvm.SlackBuild b/scummvm/build/scummvm.SlackBuild
index fc96719d..be0e580e 100755
--- a/scummvm/build/scummvm.SlackBuild
+++ b/scummvm/build/scummvm.SlackBuild
@@ -28,7 +28,8 @@
# For: scummvm
# Descr: a 'virtual machine' for various adventure games
# URL: http://scummvm.org/
-# Needs:
+# Needs: mpeg2dec (in fact, this is optional, but you will miss
+# functionality if scummvm is not linked against libmpeg2).
# Changelog:
# 0.10.0-1: 29/Jul/2007 by Eric Hameleers <alien@slackware.com>
# * Initial build.
@@ -202,6 +203,9 @@ cat $SRCDIR/slack-desc > $PKG/install/slack-desc
if [ -f $SRCDIR/doinst.sh ]; then
cat $SRCDIR/doinst.sh >> $PKG/install/doinst.sh
fi
+if [ -f $SRCDIR/slack-required ]; then
+ cat $SRCDIR/slack-required > $PKG/install/slack-required
+fi
# Build the package:
cd $PKG
@@ -210,6 +214,9 @@ cd $OUTPUT
md5sum ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.tgz > ${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.tgz.md5
cd -
cat $PKG/install/slack-desc | grep "^${PRGNAM}" > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.txt
+if [ -f $PKG/install/slack-required ]; then
+ cat $PKG/install/slack-required > $OUTPUT/${PRGNAM}-${VERSION}-${ARCH}-${BUILD}.dep
+fi
# Clean up the extra stuff:
if [ "$P1" = "--cleanup" ]; then