audio/drumstick: Updated for version 2.4.1.

Requirement for vmpk (will send update)

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
clavisound 2021-11-24 21:17:06 +02:00 committed by Willy Sudiarto Raharjo
parent a769bba85a
commit a0bde170eb
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 13 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for <drumstick>
#
# Copyright Michales (clavisound) Michaloudes korgie@gmail.com <2019>
# Copyright Michales (clavisound) Michaloudes korgie@gmail.com <2019,2021>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=drumstick
VERSION=${VERSION:-1.1.3}
VERSION=${VERSION:-2.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -47,7 +47,7 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
exit 0
fi
TMP=${TMP:-/tmp/SBo}
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@ -88,6 +88,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DBUILD_DOCS=NO \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@ -96,21 +97,15 @@ cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cd $TMP/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING ChangeLog README TODO NEWS \
AUTHORS COPYING ChangeLog readme.md TODO NEWS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
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

View File

@ -1,8 +1,8 @@
PRGNAM="drumstick"
VERSION="1.1.3"
VERSION="2.4.1"
HOMEPAGE="https://drumstick.sourceforge.io/"
DOWNLOAD="https://sourceforge.net/projects/drumstick/files/1.1.3/drumstick-1.1.3.tar.bz2"
MD5SUM="80de9f184341c41f459fef8862d4d560"
DOWNLOAD="https://sourceforge.net/projects/drumstick/files/2.4.1/drumstick-2.4.1.tar.bz2"
MD5SUM="3027965c37f1ab3b0b1dc1e77edc020e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""