summaryrefslogtreecommitdiff
path: root/system/oss/oss.SlackBuild
diff options
context:
space:
mode:
authorDugan Chen <dugan [underscore] c [at] fastmail [dot] fm>2010-07-25 21:37:16 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-25 21:52:42 -0500
commit1a287f941b6e7bf48ff45b4f9b2e47a4507492ca (patch)
tree1d51f094e3e12fe3d27d1edb54b89c78d44edb42 /system/oss/oss.SlackBuild
parent13485cd9895a49cce7c16fb76bd9a1efeaec9ebc (diff)
downloadslackbuilds-1a287f941b6e7bf48ff45b4f9b2e47a4507492ca.tar.gz
system/oss: Updated for version 4.2.2003.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'system/oss/oss.SlackBuild')
-rw-r--r--system/oss/oss.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/oss/oss.SlackBuild b/system/oss/oss.SlackBuild
index 87e8524b49..e1d3d1f673 100644
--- a/system/oss/oss.SlackBuild
+++ b/system/oss/oss.SlackBuild
@@ -6,19 +6,17 @@
PRGNAM=oss
VERSION=${VERSION:-4.2}
-SUBVERSION=${SUBVERSION:-2002}
+SUBVERSION=${SUBVERSION:-2003}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
SRCVERSION=v${VERSION}-build${SUBVERSION}-src-gpl
PKGVERSION=${VERSION}.${SUBVERSION}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,7 +60,7 @@ if [ $ARCH = "x86_64" ]; then
fi
mkdir build && cd build
-../configure
+../configure
CFLAGS="$SLKCFLAGS" make build
cp -a prototype/* $PKG
@@ -78,6 +76,9 @@ mv $PKG/etc/oss.conf $PKG/etc/oss.conf.new
mkdir -p $PKG/etc/rc.d
cat $CWD/rc.oss > $PKG/etc/rc.d/rc.oss.new
+mkdir -p $PKG/etc/xdg/autostart
+cat $CWD/ossxmix.desktop > $PKG/etc/xdg/autostart/ossxmix.desktop.new
+
# Fix location of manual pages
mv $PKG/usr/share/man $PKG/usr
rm -rf $PKG/usr/share