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

EAPI="2"

inherit games

DESCRIPTION="OpenSFX data files for OpenTTD"
HOMEPAGE="http://bundles.openttdcoop.org/opensfx/"
SRC_URI="http://bundles.openttdcoop.org/${PN}/releases/${P}-source.tar.gz"

LICENSE="CCPL-Sampling-Plus-1.0"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

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

DEPEND=">=games-simulation/openttd-1.0.0_beta1
	games-util/catcodec"
RDEPEND="${DEPEND}"

src_install() {
	insinto "${GAMES_DATADIR}/openttd/data/"
	doins src/opensfx.cat opensfx.obs || die "doins failed in $(pwd)"
	dodoc docs/*.txt || die "dodoc failed"
	prepgamesdirs
}