summaryrefslogtreecommitdiff
path: root/audio/TiMidity++/TiMidity++.SlackBuild
diff options
context:
space:
mode:
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}