wok view qtgain/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents c85bdee1fe53
children
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="https://web.archive.org/web/20150802150319if_/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|.*a href="|"https://sourceforge.net|;s| .*||;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 }