/[gentoo-x86]/games-arcade/abe/abe-1.1.ebuild
Gentoo

Contents of /games-arcade/abe/abe-1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Jan 3 12:57:17 2015 UTC (5 years, 6 months ago) by tupone
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +6 -5 lines
EAPI 4

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0145142D)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-arcade/abe/abe-1.1.ebuild,v 1.7 2009/03/04 21:28:38 mr_bones_ Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs games
7
8 DESCRIPTION="A scrolling, platform-jumping, key-collecting, ancient pyramid exploring game"
9 HOMEPAGE="http://abe.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/abe/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc x86 ~x86-fbsd"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl
18 x11-libs/libXi
19 media-libs/sdl-mixer[vorbis]"
20 RDEPEND="${DEPEND}"
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 unpack ./images/images.tar
26 }
27
28 src_prepare() {
29 sed -i \
30 -e "/^TR_CFLAGS/d" \
31 -e "/^TR_CXXFLAGS/d" \
32 configure \
33 || die "sed failed"
34 epatch "${FILESDIR}"/${P}-settings.patch
35 }
36
37 src_configure() {
38 egamesconf --with-data-dir="${GAMES_DATADIR}"/${PN}
39 }
40
41 src_install() {
42 dogamesbin src/abe
43 insinto "${GAMES_DATADIR}"/${PN}
44 doins -r images sounds maps
45 newicon tom1.bmp abe.bmp
46 make_desktop_entry abe "Abe's Amazing Adventure" /usr/share/pixmaps/abe.bmp
47 dodoc AUTHORS ChangeLog README
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20