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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Wed Dec 21 18:50:20 2011 UTC (8 years, 1 month ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
version bump (bug #395565)

(Portage version: 2.1.10.41/cvs/Linux i686)

1 # Copyright 1999-2011 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.15.ebuild,v 1.5 2011/03/04 01:28:46 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