blob: 1a80ceb4ad1cdba1ec173f55a35c434f6ef288e1 (
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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools desktop
DESCRIPTION="Drive a toy wood engine and collect all the coaches"
HOMEPAGE="https://ri-li.sourceforge.net/"
SRC_URI="mirror://sourceforge/ri-li/Ri-li-${PV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND="media-libs/libsdl[sound,video]
media-libs/sdl-mixer[mod]"
RDEPEND="${DEPEND}"
S="${WORKDIR}/Ri-li-${PV}"
src_prepare() {
default
eapply "${FILESDIR}"/${P}-gcc43.patch
mv configure.{in,ac}
rm aclocal.m4
eautoreconf
}
src_install() {
default
rm -f "${ED}/usr/share/Ri-li/"*ebuild
newicon data/Ri-li-icon-48x48.png ${PN}.png
make_desktop_entry Ri_li Ri-li
}
|