Browse Source

l/aubio: Upgraded to aubio-0.4.2.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
c2971f9263
  1. 1
      l/aubio/aubio-0.3.2.tar.gz.sha1
  2. 1
      l/aubio/aubio-0.4.2.tar.bz2.sha1
  3. 28
      l/aubio/aubio.SlackBuild

1
l/aubio/aubio-0.3.2.tar.gz.sha1

@ -1 +0,0 @@
8ef7ccbf18a4fa6db712a9192acafc9c8d080978 aubio-0.3.2.tar.gz

1
l/aubio/aubio-0.4.2.tar.bz2.sha1

@ -0,0 +1 @@
aa0d31c58deb92ab03edfc417d903f50f78444d0 aubio-0.4.2.tar.bz2

28
l/aubio/aubio.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2013 Damien Goutte-Gattat
# Copyright (C) 2011,2013,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,13 +28,13 @@
# Source package infos
NAMESRC=${NAMESRC:-aubio}
VERSION=${VERSION:-0.3.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
VERSION=${VERSION:-0.4.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://aubio.org/pub/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-aubio}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -87,22 +87,22 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
LDFLAGS=-lm \
./configure \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--disable-static
make -j $JOBS
make install-strip DESTDIR=$PKG
make -C doc install DESTDIR=$PKG
--docdir=/usr/doc/$NAME
./waf -j $JOBS build
./waf install --destdir=$PKG
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README THANKS TODO $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$NAME
mv $PKG/usr/share/doc/libaubio-doc/html $PKG/usr/doc/$NAME/html
rm -rf $PKG/usr/share
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save