summaryrefslogtreecommitdiff
blob: 64e1202d55d3dc067b38d0a8a320b2a0d54cade5 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools toolchain-funcs

DESCRIPTION="Program for printing music scores"
HOMEPAGE="http://www.arkkra.com/"
SRC_URI="http://www.arkkra.com/ftp/pub/unix/mup${PV//.}src.tar.gz
	ftp://ftp.arkkra.com/pub/unix/mup${PV//.}src.tar.gz"

LICENSE="Arkkra"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"

RDEPEND="
	media-libs/libjpeg-turbo:=
	media-libs/libpng:=
	x11-libs/libX11
	x11-libs/libXext
	>=x11-libs/fltk-1.3:1
	x11-libs/libXpm
"
DEPEND="
	${RDEPEND}
	x11-base/xorg-proto
"
BDEPEND="
	app-text/ghostscript-gpl
	media-libs/netpbm
	sys-apps/groff
	app-alternatives/yacc
"

PATCHES=(
	"${FILESDIR}"/${PN}-6.9-build-system.patch
)

src_prepare() {
	default

	eautoreconf
}

src_compile() {
	emake -j1 CCOMPILER="$(tc-getCC)" CPPCOMPILER="$(tc-getCXX)" CFLAGS="${CFLAGS}"
}

src_install() {
	emake -j1 DESTDIR="${D}" install

	dodoc README
}