wok view qtgain/receipt @ rev 24729
updated libdnet and libdnet-dev (1.12 -> 1.14)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 16:28:57 2022 +0100 (2022-03-15) |
parents | e6a4cd87fdcb |
children | c85bdee1fe53 |
line source
1 # SliTaz package receipt.
3 PACKAGE="qtgain"
4 VERSION="0.9.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="Simple frontend for MP3Gain, VorbisGain, AACGain and Metaflac."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="56842-QtGain.tar.lzma"
10 WEB_SITE="https://www.linux-apps.com/content/show.php/QtGain?content=56842"
11 WGET_URL="http://qt-apps.org/CONTENT/content-files/$TARBALL"
13 DEPENDS="libQtCore libQtGui libQtNetwork"
14 BUILD_DEPENDS="Qt4-dev qmake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/qtgain/files/QtGain/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/QtGain/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 qmake && make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/pixmaps
34 cp -a $src/bin $fs/usr
35 cp -a $src/qtgain.png $fs/usr/share/pixmaps
36 cp -a $stuff/* $fs
37 chown -R root.root $fs
38 }