wok view qastools/receipt @ rev 25607

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 19 13:00:59 2023 +0000 (9 months ago)
parents e919c5a2742d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="qastools"
4 VERSION="0.17.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="QasTools is a collection of desktop applications for the ALSA"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://web.archive.org/web/20190106075103/https://xwmw.org/qastools/"
10 TARBALL="${PACKAGE}_$VERSION.tar.xz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
12 GENERIC_MENUS="no"
14 DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer"
15 BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/qastools/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/files/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build; cd build
29 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING
40 # separate qasmixer
41 for file in $(cat $stuff/qasmixer.files); do
42 rm -f $fs$file
43 done
44 }