/[gentoo-x86]/games-puzzle/xye/xye-0.12.1.ebuild
Gentoo

Contents of /games-puzzle/xye/xye-0.12.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Feb 25 12:17:07 2013 UTC (5 years, 8 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #458236

(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-puzzle/xye/xye-0.12.1.ebuild,v 1.2 2013/02/19 19:19:26 nimiux Exp $
4
5 EAPI=5
6 inherit autotools eutils games
7
8 DESCRIPTION="Free version of the classic game Kye"
9 HOMEPAGE="http://xye.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/xye/${P}.tar.gz"
11
12 LICENSE="ZLIB"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 DEPEND="media-libs/libsdl[video]
18 media-libs/sdl-ttf
19 media-libs/sdl-image[png]
20 media-fonts/dejavu"
21 RDEPEND="${DEPEND}"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-gcc47.patch
25 sed -i -e '/^xye_LDFLAGS/d' Makefile.am || die
26 eautoreconf
27 }
28
29 src_install() {
30 dogamesbin "${PN}"
31 insinto "${GAMES_DATADIR}/${PN}"
32 doins -r levels res
33 rm -f "${D}${GAMES_DATADIR}/${PN}"/res/DejaVuSans*
34 dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans.ttf
35 dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}/${PN}"/res/DejaVuSans-Bold.ttf
36 dodoc AUTHORS ChangeLog README NEWS
37 dohtml ReadMe.html
38 doicon xye.svg
39 make_desktop_entry ${PN} Xye
40 prepgamesdirs
41 }

  ViewVC Help
Powered by ViewVC 1.1.20