wok annotate qtgain/receipt @ rev 15353
mp: remove TRY_DRIVERS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 17:09:51 2013 +0000 (2013-09-30) |
parents | |
children | 23c3aed67cd9 |
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@13242 | 8 TARBALL="56842-QtGain.tar.lzma" |
pascal@13242 | 9 WEB_SITE="http://qt-apps.org/content/show.php/QtGain?content=56842" |
pascal@13242 | 10 WGET_URL="http://qt-apps.org/CONTENT/content-files/$TARBALL" |
pascal@13242 | 11 |
pascal@13242 | 12 DEPENDS="libQtCore libQtGui libQtNetwork" |
pascal@13242 | 13 BUILD_DEPENDS="Qt4-dev qmake" |
pascal@13242 | 14 |
pascal@13242 | 15 # Rules to configure and make the package. |
pascal@13242 | 16 compile_rules() |
pascal@13242 | 17 { |
pascal@13242 | 18 # rename source directory |
pascal@13242 | 19 mv QtGain $PACKAGE-$VERSION 2> /dev/null |
pascal@13242 | 20 cd $src |
pascal@13242 | 21 qmake && make |
pascal@13242 | 22 } |
pascal@13242 | 23 |
pascal@13242 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13242 | 25 genpkg_rules() |
pascal@13242 | 26 { |
pascal@13242 | 27 mkdir -p $fs/usr/share/pixmaps |
pascal@13242 | 28 cp -a $src/bin $fs/usr |
pascal@13242 | 29 cp -a $src/qtgain.png $fs/usr/share/pixmaps |
pascal@13242 | 30 cp -a $stuff/* $fs |
pascal@13242 | 31 chown -R root.root $fs |
pascal@13242 | 32 } |
pascal@13242 | 33 |