summaryrefslogtreecommitdiffstats
path: root/audio/aj-snapshot
diff options
context:
space:
mode:
Diffstat (limited to 'audio/aj-snapshot')
-rw-r--r--audio/aj-snapshot/README4
-rw-r--r--audio/aj-snapshot/aj-snapshot.SlackBuild24
-rw-r--r--audio/aj-snapshot/aj-snapshot.info8
3 files changed, 21 insertions, 15 deletions
diff --git a/audio/aj-snapshot/README b/audio/aj-snapshot/README
index e30eb8e9a2..3fedd5e3e8 100644
--- a/audio/aj-snapshot/README
+++ b/audio/aj-snapshot/README
@@ -6,7 +6,3 @@ is able to store both types of connections for JACK.
Run aj-snapshot in daemon mode to have your connections continually
restored.
-
-NOTE: You can use either JACK version 1 (default) or 2. On
-SlackBuilds.org, JACK v1 is jack-audio-connection-kit and JACK v2
-is jack2.
diff --git a/audio/aj-snapshot/aj-snapshot.SlackBuild b/audio/aj-snapshot/aj-snapshot.SlackBuild
index f4d322faea..79ab7ea0a1 100644
--- a/audio/aj-snapshot/aj-snapshot.SlackBuild
+++ b/audio/aj-snapshot/aj-snapshot.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for aj-snapshot
# Copyright 2014 Klaatu@member.fsf.org
#
@@ -8,26 +8,36 @@
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=aj-snapshot
-VERSION=${VERSION:-0.9.6}
+VERSION=${VERSION:-0.9.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
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}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -88,4 +98,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/aj-snapshot/aj-snapshot.info b/audio/aj-snapshot/aj-snapshot.info
index 57e25db2c0..fb8fa292cc 100644
--- a/audio/aj-snapshot/aj-snapshot.info
+++ b/audio/aj-snapshot/aj-snapshot.info
@@ -1,10 +1,10 @@
PRGNAM="aj-snapshot"
-VERSION="0.9.6"
+VERSION="0.9.9"
HOMEPAGE="http://aj-snapshot.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/project/aj-snapshot/aj-snapshot-0.9.6.tar.bz2"
-MD5SUM="fd755bbcade848001f16740462a08dff"
+DOWNLOAD="http://downloads.sourceforge.net/project/aj-snapshot/aj-snapshot-0.9.9.tar.bz2"
+MD5SUM="0b5f30312206be17f276ca305fbc0250"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="jack-audio-connection-kit mxml"
+REQUIRES="jack mxml"
MAINTAINER="Klaatu"
EMAIL="klaatu@member.fsf.org"