summaryrefslogtreecommitdiff
path: root/audio/volume.app/volume.app.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/volume.app/volume.app.SlackBuild')
-rw-r--r--audio/volume.app/volume.app.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/volume.app/volume.app.SlackBuild b/audio/volume.app/volume.app.SlackBuild
index 74a2a2bb3b..9fa3554c56 100644
--- a/audio/volume.app/volume.app.SlackBuild
+++ b/audio/volume.app/volume.app.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=volume.app
VERSION=${VERSION:-1.1a}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,10 +71,14 @@ find -L . \
sed -i "s|/usr/local|/usr/|" Makefile
-# by default, this is the same file as in source
-# if you are using ALSA, you need to edit this file as stated in README
-# before proceeding
-cp $CWD/config.h.in .
+# by default, this is the 'almost' the same file as in source
+# if you are using ALSA, you will need them! Read README before proceeding
+if [ -f "$CWD/config.h.in" ]; then
+ cp $CWD/config.h.in ./
+fi
+if [ -f "$CWD/volume.app.c" ]; then
+ cp $CWD/volume.app.c ./
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \