summaryrefslogtreecommitdiff
path: root/audio/dcaenc/dcaenc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dcaenc/dcaenc.SlackBuild')
-rw-r--r--audio/dcaenc/dcaenc.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/audio/dcaenc/dcaenc.SlackBuild b/audio/dcaenc/dcaenc.SlackBuild
index 9e39006fde..506a9af203 100644
--- a/audio/dcaenc/dcaenc.SlackBuild
+++ b/audio/dcaenc/dcaenc.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for dcaenc
-# Copyright 2016 Klaatu, Wellington NZ
+# Copyright 2022 Klaatu, Wellington NZ
# All rights reserved.
#
-# GNU All Permissive License
+# GNU All Permissive License
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.
@@ -13,7 +13,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dcaenc
-VERSION=${VERSION:-2}
+VERSION=${VERSION:-3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -54,14 +54,14 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-v$VERSION.tar.bz2
+cd $PRGNAM-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -69,6 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+autoreconf -f -i -v
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \