aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2010-05-11 20:01:13 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 20:01:13 +0200
commit958a3c6fcc14f9f84d11e8eb7563bec34e6a633c (patch)
tree0adf93a9abe9f8d30f6eaae04f2c955608dc4293 /multimedia
parent86b5c6999b175aac0ef7e7185288e6b5168dc3f1 (diff)
multimedia/awesfx: Added to 12.0 repository
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/awesfx/README3
-rw-r--r--multimedia/awesfx/awesfx.SlackBuild60
-rw-r--r--multimedia/awesfx/awesfx.info8
-rw-r--r--multimedia/awesfx/slack-desc19
4 files changed, 90 insertions, 0 deletions
diff --git a/multimedia/awesfx/README b/multimedia/awesfx/README
new file mode 100644
index 0000000000000..fcac871e8e0a4
--- /dev/null
+++ b/multimedia/awesfx/README
@@ -0,0 +1,3 @@
+This package includes several utilities for the AWE32
+sound driver on Linux and FreeBSD systems and for the
+Emux WaveTable of ALSA sbawe and emu10k1 drivers.
diff --git a/multimedia/awesfx/awesfx.SlackBuild b/multimedia/awesfx/awesfx.SlackBuild
new file mode 100644
index 0000000000000..c8ad76208cf3c
--- /dev/null
+++ b/multimedia/awesfx/awesfx.SlackBuild
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+# Slackware build script for awesfx
+# Written by Kyle Guinn <elyk03@gmail.com>
+
+set -e
+
+PRGNAM=awesfx
+VERSION=0.5.1a
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --infodir=/usr/info \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION
+
+make
+make install-strip DESTDIR=$PKG
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL README SBKtoSF2.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/multimedia/awesfx/awesfx.info b/multimedia/awesfx/awesfx.info
new file mode 100644
index 0000000000000..3e49bbe6101ee
--- /dev/null
+++ b/multimedia/awesfx/awesfx.info
@@ -0,0 +1,8 @@
+PRGNAM="awesfx"
+VERSION="0.5.1a"
+HOMEPAGE="http://www.alsa-project.org/~iwai/awedrv.html"
+DOWNLOAD="ftp://ftp.suse.com/pub/people/tiwai/awesfx/awesfx-0.5.1a.tar.bz2"
+MD5SUM="edeb9a25e505c9c85cb2453175b0dd1a"
+MAINTAINER="Kyle Guinn"
+EMAIL="elyk03@gmail.com"
+APPROVED="rworkman"
diff --git a/multimedia/awesfx/slack-desc b/multimedia/awesfx/slack-desc
new file mode 100644
index 0000000000000..d4c0df3efac31
--- /dev/null
+++ b/multimedia/awesfx/slack-desc
@@ -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------------------------------------------------------|
+awesfx: awesfx (AWE32 sound driver)
+awesfx:
+awesfx: This package includes several utilities for the AWE32
+awesfx: sound driver on Linux and FreeBSD systems and for the
+awesfx: Emux WaveTable of ALSA sbawe and emu10k1 drivers.
+awesfx:
+awesfx: Homepage: http://www.alsa-project.org/~iwai/awedrv.html
+awesfx:
+awesfx:
+awesfx:
+awesfx: