PageRenderTime 51ms CodeModel.GetById 33ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 15ms

/contrib/gentoo/ewitool-0.5.ebuild

http://ewitool.googlecode.com/
Unknown | 34 lines | 27 code | 7 blank | 0 comment | 0 complexity | df94a2e8e83901e04a097d762008f51a MD5 | raw file
 1# Copyright 1999-2008 Gentoo Foundation
 2# Distributed under the terms of the GNU General Public License v2
 3# $Header: $
 4
 5inherit qt4
 6
 7DESCRIPTION="A tool for handling the Akai EWI4000s Wind Synthesizer"
 8HOMEPAGE="http://code.google.com/p/ewitool/"
 9SRC_URI="http://ewitool.googlecode.com/files/EWItool-${PV}.tar.gz"
10
11LICENSE="GPL-3"
12SLOT="0"
13KEYWORDS="~x86 ~amd64"
14
15DEPEND=">=x11-libs/qt-4
16	media-libs/alsa-lib"
17
18pkg_setup() {
19	if ! built_with_use media-libs/alsa-lib midi; then
20		eerror "media-libs/alsa-lib needs to be built with midi use flag"
21		eerror "in order to use ${PN}"
22		die "Please rebuild media-libs/alsa-lib with midi use flag"
23	fi
24}
25
26src_compile() {
27	cd EWItool
28	eqmake4 || die "qmake failed"
29	emake || die "make failed"
30}
31
32src_install() {
33	dobin EWItool/bin/ewitool
34}