Browse Source

Revert "l/aubio: Upgraded to aubio-0.4.0."

This reverts commit 4fee4d670e.
slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
7ec2848b8c
  1. 1
      l/aubio/aubio-0.3.2.tar.gz.sha1
  2. 1
      l/aubio/aubio-0.4.0.tar.bz2.sha1
  3. 38
      l/aubio/aubio.SlackBuild

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

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

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

@ -1 +0,0 @@
f591c627436705975d594343ffcfb70cc2f1db07 aubio-0.4.0.tar.bz2

38
l/aubio/aubio.SlackBuild

@ -24,17 +24,17 @@
#
# Latest aubio sourcecode is available at: <http://aubio.org/>.
#
# Optional: ap/jack, xap/ffmpeg
# Optional: ap/jack
# Source package infos
NAMESRC=${NAMESRC:-aubio}
VERSION=${VERSION:-0.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
VERSION=${VERSION:-0.3.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://aubio.org/pub/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-aubio}
BUILD=${BUILD:-1GGD}
BUILD=${BUILD:-2GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -87,30 +87,22 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./waf configure \
LDFLAGS=-lm \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--docdir=/usr/doc/$NAME
./waf build
./waf install --destdir=$PKG
--mandir=/usr/man \
--disable-static
make -j $JOBS
make install-strip DESTDIR=$PKG
make -C doc install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Compress man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Move library to the right place (--libdir is ignored).
if [ "x$ARCH" = xx86_64 ]; then
mv $PKG/usr/lib/libaubio.so.4.0.0 $PKG/usr/lib64/libaubio.so.4.0.0
ln -s libaubio.so.4.0.0 $PKG/usr/lib64/libaubio.so
ln -s libaubio.so.4.0.0 $PKG/usr/lib64/libaubio.so.4
rm -rf $PKG/usr/lib
fi
# Move documentation to the right place (--docdir is ignored).
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
mv $PKG/usr/share/doc/libaubio-doc/html $PKG/usr/doc/$NAME/html
rm -rf $PKG/usr/share
install -m 644 AUTHORS COPYING ChangeLog README.md $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README THANKS TODO $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save