summaryrefslogtreecommitdiffstats
path: root/audio/ntk/ntk.SlackBuild
diff options
context:
space:
mode:
author klaatu <klaatu@member.fsf.org>2022-03-05 12:54:16 +1300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-05 08:22:26 +0700
commit09c3fc81a33b2267ba11ec2a752d8acbbbb34fe4 (patch)
tree5745e1787ce61a6f2db2cb98ca78a604da3964dd /audio/ntk/ntk.SlackBuild
parent67dc855b125e669462db01ef960ca06e378d83be (diff)
downloadslackbuilds-09c3fc81a33b2267ba11ec2a752d8acbbbb34fe4.tar.gz
slackbuilds-09c3fc81a33b2267ba11ec2a752d8acbbbb34fe4.tar.xz
audio/ntk: Updated for version 1.3.1001
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/ntk/ntk.SlackBuild')
-rw-r--r--audio/ntk/ntk.SlackBuild23
1 files changed, 7 insertions, 16 deletions
diff --git a/audio/ntk/ntk.SlackBuild b/audio/ntk/ntk.SlackBuild
index 67033add99..f1fb0349ce 100644
--- a/audio/ntk/ntk.SlackBuild
+++ b/audio/ntk/ntk.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# Slackware build script for non
-# Copyright 2013 Klaatu @ member.fsf.org
+# Copyright 2013-22 Klaatu @ member.fsf.org
# GNU All-Permissive License
# Copying and distribution of this file, with or without modification,
@@ -12,11 +12,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ntk
-SRCNAM=ntk #comment out if building from git
-#to build from git uncomment this one
-#SRCNAM=non
-
-VERSION=${VERSION:-20200928}
+VERSION=${VERSION:-1.3.1001}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,7 +34,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
fi
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$SRCNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
@@ -59,10 +55,10 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-git-$VERSION
-tar xvf $CWD/$SRCNAM-git-$VERSION.tar.xz
-cd $SRCNAM-git-$VERSION
-rm nonlib/nonlib
+rm -rf $PRGNAM
+tar xvf $CWD/v"${VERSION}".tar.gz
+cd $PRGNAM
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -70,11 +66,6 @@ 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 {} \;
-# do this if cloning from git
-#git submodule update --init --depth 1
-
-# we are at project root, ie non/
-cd lib/ntk
./waf configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \