summaryrefslogtreecommitdiff
blob: 9cd42a190c837e781e87175666d9571f056233a6 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

PYTHON_DEPEND="2:2.6"

inherit games

DESCRIPTION="An ambiguously named music replacement set for OpenTTD"
HOMEPAGE="http://bundles.openttdcoop.org/openmsx/"
SRC_URI="http://bundles.openttdcoop.org/${PN}/releases/${P}-source.tar.gz"

LICENSE="|| ( GPL-2 CCPL-Sampling-Plus-1.0 )"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

S="${WORKDIR}/${P}-source"

DEPEND="app-text/unix2dos"
RDEPEND="${DEPEND}"

src_compile() {
	emake bundle
}

src_install() {
	cd "${P}" || die
	insinto "${GAMES_DATADIR}/openttd/gm/${P}"
	doins *.mid openmsx.obm || die "doins failed"
	dodoc changelog.txt license.txt readme.txt || die "dodoc failed"
	prepgamesdirs
}