diff options
Diffstat (limited to 'audio/padthv1/padthv1.SlackBuild')
-rw-r--r-- | audio/padthv1/padthv1.SlackBuild | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/audio/padthv1/padthv1.SlackBuild b/audio/padthv1/padthv1.SlackBuild index c15cbbdc7bb2d..60e46075f9f86 100644 --- a/audio/padthv1/padthv1.SlackBuild +++ b/audio/padthv1/padthv1.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20230109 bkw: update for 0.9.28 # 20211205 bkw: update for 0.9.23 # 20201106 bkw: update for 0.9.18 # 20200114 bkw: update for 0.9.12 @@ -13,7 +14,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=padthv1 -VERSION=${VERSION:-0.9.23} +VERSION=${VERSION:-0.9.28} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -63,20 +64,19 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ export PATH=/usr/lib$LIBDIRSUFFIX/qt5/bin:$PATH -LDFLAGS="-Wl,-s" \ -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --docdir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG +mkdir -p build +cd build + cmake \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_INSTALL_MANDIR=/usr/man \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release .. + make VERBOSE=1 + make install/strip DESTDIR=$PKG +cd .. + +gzip -9 $PKG/usr/man/man1/* $PKG/usr/man/fr/man1/* # I dunno what this is actually for, but as of 0.8.5 it got moved. Move # it back to where it belongs, for Slack 14.2. @@ -97,7 +97,7 @@ for i in man1 fr/man1 fr.UTF-8/man1; do done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION +cp -a ChangeLog README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild LIBLO=no |