summaryrefslogtreecommitdiffstats
path: root/audio/xcfa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/xcfa')
-rw-r--r--audio/xcfa/README25
-rw-r--r--audio/xcfa/xcfa.SlackBuild21
-rw-r--r--audio/xcfa/xcfa.info2
3 files changed, 28 insertions, 20 deletions
diff --git a/audio/xcfa/README b/audio/xcfa/README
index 89c155b321..7d87f95a21 100644
--- a/audio/xcfa/README
+++ b/audio/xcfa/README
@@ -1,8 +1,8 @@
xcfa (Powerful Audio Converter & Splitter for Linux)
-XCFA is a tool to extract the contens of Audio-CDs and convert
-musical audio files conversion to FLAC, WAV, OGG, M4A, MPC, MP3,
-WavPack and many others.
+XCFA is a tool to extract the contents of Audio-CDs and convert musical
+audio files conversion to FLAC, WAV, OGG, M4A, MPC, MP3, WavPack and
+many others.
Features:
@@ -14,16 +14,15 @@ Features:
Optional dependencies:
* cdrkit
- * faac
- * faad2
+ * faac
+ * faad2
* cd-discid
- * lame
- * mac
- * mp3check
- * mp3gain
- * musepack-tools
- * shntool
- * shorten
- * vorbisgain
+ * mac
+ * mp3check
+ * mp3gain
+ * musepack-tools
+ * shntool
+ * shorten
+ * vorbisgain
* lsdvd
* aacplusenc
diff --git a/audio/xcfa/xcfa.SlackBuild b/audio/xcfa/xcfa.SlackBuild
index 4d1b2271f5..ec33d39c50 100644
--- a/audio/xcfa/xcfa.SlackBuild
+++ b/audio/xcfa/xcfa.SlackBuild
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
# Slackware build script for xcfa.
#
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=xcfa
VERSION=${VERSION:-5.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +38,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}
@@ -70,7 +80,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -80,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make CFLAGS="$SLKCFLAGS -fcommon"
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -100,4 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
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/xcfa/xcfa.info b/audio/xcfa/xcfa.info
index a35584152f..eb550e0d7a 100644
--- a/audio/xcfa/xcfa.info
+++ b/audio/xcfa/xcfa.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://download.tuxfamily.org/xcfaudio/xcfa_download/src/xcfa-5.0.2.ta
MD5SUM="662c52d87ba1cbb948a0444cc844c7a8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vte3"
+REQUIRES=""
MAINTAINER="Dave Woodfall"
EMAIL="dave@slackbuilds.org"