summaryrefslogtreecommitdiff
blob: f46701529f8a428052b511ef5efd9538a9058837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/musescore/musescore-0.0.6.ebuild,v 1.7 2004/05/01 20:23:13 eradicator Exp $

inherit kde eutils

DESCRIPTION="Music Score Typesetter"
HOMEPAGE="http://muse.seh.de/mscore/index.php"
LICENSE="GPL-2"

MY_P=mscore-${PV}
SRC_URI="http://muse.seh.de/mscore/bin//${MY_P}.tar.bz2"

SLOT="0"
KEYWORDS="x86"
IUSE=""
S=${WORKDIR}/${MY_P}

DEPEND=">=x11-libs/qt-3.1.0"

src_unpack() {
	unpack ${A}

	cd ${S}
	epatch ${FILESDIR}/${P}-assert.patch
}

src_compile() {
	addwrite "${QTDIR}/etc/settings"
	econf --disable-qttest || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
	dodoc AUTHORS ChangeLog NEWS README README.translate TODO
}