|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2009,2010,2011,2016 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2009-2011,2016,2019 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-rubberband} |
|
|
|
|
VERSION=${VERSION:-1.8.1} |
|
|
|
|
VERSION=${VERSION:-1.8.2} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-http://code.breakfastquay.com/attachments/download/34/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -76,7 +76,7 @@ if [ ! -r $ARCHIVE ]; then
|
|
|
|
|
wget -c -O $ARCHIVE.part "$WGET" |
|
|
|
|
mv $ARCHIVE.part $ARCHIVE |
|
|
|
|
fi |
|
|
|
|
sha1sum -c $ARCHIVE.sha1 |
|
|
|
|
sha256sum -c $ARCHIVE.sha256 |
|
|
|
|
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1) |
|
|
|
|
|
|
|
|
|
# Compile |
|
|
|
@ -88,7 +88,7 @@ CFLAGS=$CPUOPT \
|
|
|
|
|
CXXFLAGS=$CPUOPT \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=/usr |
|
|
|
|
make -j $JOBS |
|
|
|
|
make -j $JOBS all jni |
|
|
|
|
make install DESTDIR=$PKG |
|
|
|
|
|
|
|
|
|
# Remove static libraries |
|
|
|
@ -112,6 +112,12 @@ install -m 644 CHANGELOG COPYING README.txt $PKG/usr/doc/$NAME
|
|
|
|
|
# Copy slack-desc file |
|
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc |
|
|
|
|
|
|
|
|
|
# Add dependency infos |
|
|
|
|
cat <<EOF > $PKG/install/slack-required |
|
|
|
|
liblrdf |
|
|
|
|
vamp-plugin-sdk |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
# Package the tree |
|
|
|
|
cd $PKG |
|
|
|
|
mkdir -p $OUT |
|
|
|
|