/[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.1 - (show annotations) (download)
Sat Nov 7 17:00:48 2009 UTC (10 years, 3 months ago) by mr_bones_
Branch: MAIN
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)

1 # Copyright 1999-2009 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.12.ebuild,v 1.5 2008/06/25 19:20:39 nixnut 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