summaryrefslogtreecommitdiffstats
path: root/audio/libebur128
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libebur128')
-rw-r--r--audio/libebur128/libebur128.SlackBuild16
-rw-r--r--audio/libebur128/libebur128.info2
2 files changed, 14 insertions, 4 deletions
diff --git a/audio/libebur128/libebur128.SlackBuild b/audio/libebur128/libebur128.SlackBuild
index 5f3e4783b7..1eb24142b4 100644
--- a/audio/libebur128/libebur128.SlackBuild
+++ b/audio/libebur128/libebur128.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libebur128
@@ -11,10 +11,13 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libebur128
VERSION=${VERSION:-1.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -24,7 +27,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -80,4 +90,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/audio/libebur128/libebur128.info b/audio/libebur128/libebur128.info
index 254d394922..f8fea59d77 100644
--- a/audio/libebur128/libebur128.info
+++ b/audio/libebur128/libebur128.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/jiixyj/libebur128/archive/v1.2.4/libebur128-1.2.4.t
MD5SUM="d6131f7e3bbf0cd7301fb5d9f8a30cc1"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="speex"
+REQUIRES=""
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"