wok view qastools/receipt @ rev 25371
updated tmux-mem-cpu-load (3.4.0 -> 3.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 29 14:34:07 2022 +0100 (2022-07-29) |
parents | e6b7a2aaf2e1 |
children | 29df00e1e19d |
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|.*href="|"https://sourceforge.net|;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 }