wok-6.x annotate qastools/receipt @ rev 17248
libgringotts: fix bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 11:51:39 2014 +0200 (2014-10-19) |
parents | |
children | e6b7a2aaf2e1 |
rev | line source |
---|---|
al@16809 | 1 # SliTaz package receipt. |
al@16809 | 2 |
al@16809 | 3 PACKAGE="qastools" |
al@16809 | 4 VERSION="0.17.2" |
al@16809 | 5 CATEGORY="multimedia" |
al@16809 | 6 SHORT_DESC="QasTools is a collection of desktop applications for the ALSA" |
al@16809 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16809 | 8 LICENSE="GPL3" |
al@16809 | 9 WEB_SITE="http://xwmw.org/qastools/index.html" |
al@16809 | 10 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
al@16809 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
al@16809 | 12 GENERIC_MENUS="no" |
al@16809 | 13 |
al@16809 | 14 DEPENDS="alsa-lib libQtCore libQtGui libQtNetwork libQtSvg qasmixer" |
al@16809 | 15 BUILD_DEPENDS="cmake Qt4-dev qmake alsa-lib-dev" |
al@16809 | 16 |
al@16809 | 17 # Rules to configure and make the package. |
al@16809 | 18 compile_rules() |
al@16809 | 19 { |
al@16809 | 20 mkdir build; cd build |
al@16809 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@16809 | 22 make && |
al@16809 | 23 make DESTDIR=$install install |
al@16809 | 24 } |
al@16809 | 25 |
al@16809 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16809 | 27 genpkg_rules() |
al@16809 | 28 { |
al@16809 | 29 cp -a $install/* $fs |
al@16809 | 30 rm -rf $fs/usr/share/man $fs/usr/share/qastools/COPYING |
al@16809 | 31 |
al@16809 | 32 # separate qasmixer |
al@16809 | 33 for file in $(cat $stuff/qasmixer.files); do |
al@16809 | 34 rm -f $fs$file |
al@16809 | 35 done |
al@16809 | 36 } |