summaryrefslogtreecommitdiff
blob: 2db9732729e6c656f57db9a5686ba30893ee10cf (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-2005 Gentoo Foundation
# 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.11 2005/07/25 15:52:25 caleb Exp $

IUSE=""

inherit qt3 eutils

MY_P=mscore-${PV}
S=${WORKDIR}/${MY_P}

DESCRIPTION="Music Score Typesetter"
HOMEPAGE="http://muse.seh.de/mscore/index.php"
SRC_URI="http://muse.seh.de/mscore/bin//${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="sparc x86"

DEPEND="$(qt_min_version 3.1)"

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
}