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