wok-6.x annotate qtgain/receipt @ rev 16368
Up orc (0.4.18)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 14 12:34:48 2014 +0000 (2014-04-14) |
parents | 883aaa8d90bc |
children | b367a52d4872 |
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@13242 | 10 WEB_SITE="http://qt-apps.org/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@13242 | 16 # Rules to configure and make the package. |
pascal@13242 | 17 compile_rules() |
pascal@13242 | 18 { |
pascal@13242 | 19 # rename source directory |
pascal@13242 | 20 mv QtGain $PACKAGE-$VERSION 2> /dev/null |
pascal@13242 | 21 cd $src |
pascal@13242 | 22 qmake && make |
pascal@13242 | 23 } |
pascal@13242 | 24 |
pascal@13242 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13242 | 26 genpkg_rules() |
pascal@13242 | 27 { |
pascal@13242 | 28 mkdir -p $fs/usr/share/pixmaps |
pascal@13242 | 29 cp -a $src/bin $fs/usr |
pascal@13242 | 30 cp -a $src/qtgain.png $fs/usr/share/pixmaps |
pascal@13242 | 31 cp -a $stuff/* $fs |
pascal@13242 | 32 chown -R root.root $fs |
pascal@13242 | 33 } |
pascal@13242 | 34 |