summaryrefslogtreecommitdiff
path: root/system/oss/oss.SlackBuild
diff options
context:
space:
mode:
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