/[gentoo-x86]/games-puzzle/ltris/ltris-1.0.13.ebuild
Gentoo

Contents of /games-puzzle/ltris/ltris-1.0.13.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Jan 23 15:48:40 2010 UTC (10 years, 1 month ago) by ranger
Branch: MAIN
Changes since 1.4: +3 -3 lines
stable ppc, bug 296121
(Portage version: 2.1.6.13/cvs/Linux ppc64)

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-puzzle/ltris/ltris-1.0.13.ebuild,v 1.4 2009/12/30 13:14:55 armin76 Exp $
4
5 EAPI=2
6 inherit autotools eutils games
7
8 DESCRIPTION="very polished Tetris clone"
9 HOMEPAGE="http://lgames.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc sparc x86"
15 IUSE="nls"
16
17 RDEPEND="media-libs/libsdl[video]
18 media-libs/sdl-mixer
19 nls? ( virtual/libintl )"
20 DEPEND="${RDEPEND}
21 nls? ( sys-devel/gettext )"
22
23 src_prepare() {
24 if use nls ; then
25 sed -i \
26 -e '/^localedir/s:$(datadir):/usr/share:' \
27 po/Makefile.in.in \
28 || die "sed failed"
29 sed -i \
30 -e '/^localedir/s:$datadir:/usr/share:' \
31 configure.in \
32 || die "sed failed"
33 AT_M4DIR=m4 eautoreconf
34 fi
35 }
36
37 src_configure() {
38 egamesconf \
39 --disable-dependency-tracking \
40 $(use_enable nls)
41 }
42
43 src_install() {
44 emake DESTDIR="${D}" install || die "emake install failed"
45 dodoc AUTHORS ChangeLog README TODO
46 newicon icons/ltris48.xpm ${PN}.xpm
47 make_desktop_entry ltris LTris
48 prepgamesdirs
49 }

  ViewVC Help
Powered by ViewVC 1.1.20