summaryrefslogtreecommitdiff
blob: 0155152d5e08719c7ffe1cdd65cd10515babe7fd (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
# 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=">=games-simulation/openttd-1.0.0_beta1[alsa]
	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
}