# SliTaz package receipt. PACKAGE="qtgain" VERSION="0.9.5" CATEGORY="multimedia" SHORT_DESC="Simple frontend for MP3Gain, VorbisGain, AACGain and Metaflac." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" TARBALL="56842-QtGain.tar.lzma" WEB_SITE="https://www.linux-apps.com/content/show.php/QtGain?content=56842" WGET_URL="https://web.archive.org/web/20150802150319if_/http://qt-apps.org/CONTENT/content-files/$TARBALL" DEPENDS="libQtCore libQtGui libQtNetwork" BUILD_DEPENDS="Qt4-dev qmake" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/qtgain/files/QtGain/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/QtGain/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { qmake && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/pixmaps cp -a $src/bin $fs/usr cp -a $src/qtgain.png $fs/usr/share/pixmaps cp -a $stuff/* $fs chown -R root.root $fs }