wok-6.x view qastools/receipt @ rev 24608
updated gmp and gmp-dev (6.2.0 -> 6.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 07:03:01 2022 +0100 (2022-03-04) |
parents | e6b7a2aaf2e1 |
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|.*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 }