| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/games-misc/openmsx/openmsx-0.3.1.ebuild,v 1.4 2010/10/15 13:42:16 ranger Exp $
|
| 4 |
|
| 5 |
EAPI=2
|
| 6 |
PYTHON_DEPEND="2:2.6"
|
| 7 |
inherit python games
|
| 8 |
|
| 9 |
DESCRIPTION="An ambiguously named music replacement set for OpenTTD"
|
| 10 |
HOMEPAGE="http://bundles.openttdcoop.org/openmsx/"
|
| 11 |
SRC_URI="http://bundles.openttdcoop.org/openmsx/releases/${PV}/${P}-source.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
S=${WORKDIR}/${P}-source
|
| 19 |
|
| 20 |
pkg_setup() {
|
| 21 |
python_set_active_version 2
|
| 22 |
games_pkg_setup
|
| 23 |
}
|
| 24 |
|
| 25 |
src_compile() {
|
| 26 |
emake bundle || die
|
| 27 |
}
|
| 28 |
|
| 29 |
src_install() {
|
| 30 |
insinto "${GAMES_DATADIR}"/openttd/gm/${P}
|
| 31 |
doins ${P}/{*.mid,openmsx.obm} || die
|
| 32 |
dodoc ${P}/{changelog.txt,readme.txt} || die
|
| 33 |
prepgamesdirs
|
| 34 |
}
|