wok diff qtgain/receipt @ rev 14843

tightvnc-extra: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 18 01:30:41 2013 +0200 (2013-07-18)
parents
children 23c3aed67cd9
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qtgain/receipt	Thu Jul 18 01:30:41 2013 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qtgain"
     1.7 +VERSION="0.9.5"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Simple frontend for MP3Gain, VorbisGain, AACGain and Metaflac."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +TARBALL="56842-QtGain.tar.lzma"
    1.12 +WEB_SITE="http://qt-apps.org/content/show.php/QtGain?content=56842"
    1.13 +WGET_URL="http://qt-apps.org/CONTENT/content-files/$TARBALL"
    1.14 +
    1.15 +DEPENDS="libQtCore libQtGui libQtNetwork"
    1.16 +BUILD_DEPENDS="Qt4-dev qmake"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	# rename source directory
    1.22 +	mv QtGain $PACKAGE-$VERSION 2> /dev/null
    1.23 +	cd $src
    1.24 +	qmake && make
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/share/pixmaps
    1.31 +	cp -a $src/bin $fs/usr
    1.32 +	cp -a $src/qtgain.png $fs/usr/share/pixmaps
    1.33 +	cp -a $stuff/* $fs
    1.34 +	chown -R root.root $fs
    1.35 +}
    1.36 +