Browse Source

l/calf: Upgraded to calf-0.90.3.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
e94805980e
  1. 1
      l/calf/calf-0.0.60.tar.gz.sha1
  2. 1
      l/calf/calf-0.90.3.tar.gz.sha256
  3. 21
      l/calf/calf.SlackBuild

1
l/calf/calf-0.0.60.tar.gz.sha1

@ -1 +0,0 @@
ee6f0c9a43587b943b588233449fb3654ec7a88e calf-0.0.60.tar.gz

1
l/calf/calf-0.90.3.tar.gz.sha256

@ -0,0 +1 @@
8781cbd1a81dec59b5923a23141ab2ca74e0e724389e15ffcf3820ace138a46c calf-0.90.3.tar.gz

21
l/calf/calf.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2011,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2011,2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -24,13 +24,13 @@
#
# Latest calf sourcecode is available at: <http://calf-studio-gear.org/>.
#
# Depends: ap/fluidsynth, l/dssi, l/lv2, ap/jack
# Depends: ap/jack, l/dssi, l/lv2
# Source package infos
NAMESRC=${NAMESRC:-calf}
VERSION=${VERSION:-0.0.60}
VERSION=${VERSION:-0.90.3}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://calf-studio-gear.org/files/$ARCHIVE}
WGET=${WGET:-https://github.com/calf-studio-gear/calf/archive/$VERSION.tar.gz}
# Build infos
NAMEPKG=${NAMEPKG:-calf}
@ -77,7 +77,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
@ -87,7 +87,7 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
./autogen.sh \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
@ -102,11 +102,20 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING{,.GPL} ChangeLog README TODO $PKG/usr/doc/$NAME
mv $PKG/usr/share/doc/calf $PKG/usr/doc/$NAME/html
rmdir $PKG/usr/share/doc
# Copy slack-desc and doinst.sh files
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -m 755 $CWD/doinst.sh $PKG/install/doinst.sh
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
dssi
jack
lv2
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save