wok-next diff qastools/receipt @ rev 17024

usbids: up 20140731
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 14 09:20:02 2014 +0000 (2014-08-14)
parents
children c3a368c0cddb
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qastools/receipt	Thu Aug 14 09:20:02 2014 +0000
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="qastools"
     1.7 +VERSION="0.17.2"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="QasTools is a collection of desktop applications for the ALSA"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://xwmw.org/qastools/index.html"
    1.13 +TARBALL="${PACKAGE}_$VERSION.tar.xz"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.15 +GENERIC_MENUS="no"
    1.16 +
    1.17 +DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer"
    1.18 +BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir build; cd build
    1.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$install install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs
    1.33 +	rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING
    1.34 +
    1.35 +	# separate qasmixer
    1.36 +	for file in $(cat $stuff/qasmixer.files); do
    1.37 +		rm -f $fs$file
    1.38 +	done
    1.39 +}