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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jan 22 20:15:31 2013 UTC (6 years, 11 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
old

(Portage version: 2.1.11.31/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2012 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.17.ebuild,v 1.4 2012/01/10 20:33:32 ranger 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 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 epatch "${FILESDIR}"/${P}-gentoo.patch
25 AT_M4DIR=m4 eautoreconf
26 }
27
28 src_configure() {
29 egamesconf \
30 --disable-dependency-tracking \
31 $(use_enable nls)
32 }
33
34 src_install() {
35 emake DESTDIR="${D}" install || die "emake install failed"
36 dodoc AUTHORS ChangeLog README TODO
37 newicon icons/ltris48.xpm ${PN}.xpm
38 make_desktop_entry ltris LTris
39 prepgamesdirs
40 }

  ViewVC Help
Powered by ViewVC 1.1.20