summaryrefslogtreecommitdiff
path: root/audio/TiMidity++/TiMidity++.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-13 00:20:37 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-13 00:20:37 +0200
commitb0063fa855c53e7133ccef73b68c2f6aa30eeef8 (patch)
treedc4d36273ec156b356f25f8ff43b14ab941d2de0 /audio/TiMidity++/TiMidity++.SlackBuild
parent6f29cee022dd952f286e37fed1f042a923c6b45a (diff)
downloadslackbuilds-b0063fa855c53e7133ccef73b68c2f6aa30eeef8.tar.gz
audio/TiMidity++: Updated for version 2.13.2
Diffstat (limited to 'audio/TiMidity++/TiMidity++.SlackBuild')
-rw-r--r--audio/TiMidity++/TiMidity++.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/audio/TiMidity++/TiMidity++.SlackBuild b/audio/TiMidity++/TiMidity++.SlackBuild
index ce60b14524..181d2d760b 100644
--- a/audio/TiMidity++/TiMidity++.SlackBuild
+++ b/audio/TiMidity++/TiMidity++.SlackBuild
@@ -9,7 +9,7 @@
PRGNAM="TiMidity++"
VERSION="2.13.2"
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -67,7 +67,8 @@ EXTRACFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-module-dir=/usr/lib${LIBDIRSUFFIX}/timidity \
--enable-audio=alsa,oss,arts,esd,ao,vorbis,flac \
- --enable-dynamic=gtk,ncurses,motif,tcltk,emacs,vt100,alsaseq \
+ --enable-dynamic=gtk,ncurses,motif,tcltk,emacs,vt100 \
+ --enable-alsaseq \
--enable-server \
--enable-network \
--enable-spectrogram \
@@ -89,6 +90,10 @@ cat > $PKG/etc/timidity.cfg.new << EOF
# See timidity.cfg(5) for details.
EOF
+# Copy the startup script
+mkdir -p $PKG/etc/rc.d
+cat $CWD/rc.timidity > $PKG/etc/rc.d/rc.timidity.new
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -98,4 +103,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}