diff options
author | Daniel Cash <dacashman@gmail.com> | 2010-12-31 04:41:38 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-31 19:00:12 -0600 |
commit | 2347d72b49c78245e8d4f5d1c618eabced077731 (patch) | |
tree | 2daad05be9a6c36ba18c00774de23b5f758c5ff6 /audio/volumeicon/volumeicon.SlackBuild | |
parent | 538e4102c38c4e42c2fded7b1e98ed1d785493f1 (diff) | |
download | slackbuilds-2347d72b49c78245e8d4f5d1c618eabced077731.tar.gz |
audio/volumeicon: Updated for version 0.3.0.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'audio/volumeicon/volumeicon.SlackBuild')
-rw-r--r-- | audio/volumeicon/volumeicon.SlackBuild | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild index f8b84ce2c2..34482764c7 100644 --- a/audio/volumeicon/volumeicon.SlackBuild +++ b/audio/volumeicon/volumeicon.SlackBuild @@ -5,7 +5,7 @@ # Written by Daniel Cash PRGNAM=volumeicon -VERSION=${VERSION:-0.2.1} +VERSION=${VERSION:-0.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,7 +18,6 @@ if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) export ARCH=i486 ;; arm*) export ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) export ARCH=$( uname -m ) ;; esac fi @@ -37,8 +36,18 @@ else LIBDIRSUFFIX="" fi +# Pass OSS=yes if you want to build with OSS support. Enabling this will +# disable ALSA support. +OSS=${OSS:-"NO"} + set -e +if [ "${OSS:-yes}" = "yes" ]; then + oss_params="--enable-oss" +else + oss_params="" +fi + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -61,6 +70,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + $oss_params \ --build=$ARCH-slackware-linux make @@ -68,7 +78,7 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING \ + AUTHORS COPYING ChangeLog NEWS README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |