aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklaatu <klaatu@member.fsf.org>2022-02-05 18:44:04 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 12:48:51 +0700
commit920a1e87e6ab712ac4c65d72cf062d9bf77fe266 (patch)
treee854972b83149617931c030aca64492a03ca7d1a
parent3cb677dd3c6e3e42bd444429b42c19affd2ef256 (diff)
audio/dcaenc: Updated for version 3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--audio/dcaenc/dcaenc.SlackBuild13
-rw-r--r--audio/dcaenc/dcaenc.info8
2 files changed, 11 insertions, 10 deletions
diff --git a/audio/dcaenc/dcaenc.SlackBuild b/audio/dcaenc/dcaenc.SlackBuild
index 9e39006fde25e..506a9af2037a6 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 \
diff --git a/audio/dcaenc/dcaenc.info b/audio/dcaenc/dcaenc.info
index 9e0e448da069e..da2048e798b82 100644
--- a/audio/dcaenc/dcaenc.info
+++ b/audio/dcaenc/dcaenc.info
@@ -1,8 +1,8 @@
PRGNAM="dcaenc"
-VERSION="2"
-HOMEPAGE="http://aepatrakov.narod.ru/index/0-2"
-DOWNLOAD="http://aepatrakov.narod.ru/olderfiles/1/dcaenc-2.tar.gz"
-MD5SUM="9da4d1b4716d7ab49b4cb9c6ac9461df"
+VERSION="3"
+HOMEPAGE="https://gitlab.com/patrakov/dcaenc"
+DOWNLOAD="https://gitlab.com/patrakov/dcaenc/-/archive/v3/dcaenc-v3.tar.bz2"
+MD5SUM="d79028a026e22bfe15042ab328334633"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""