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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Feb 10 10:07:00 2015 UTC (5 years ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for x86, wrt bug #539026

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 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.19.ebuild,v 1.4 2015/02/06 13:40:59 ago Exp $
4
5 EAPI=5
6 inherit autotools eutils games
7
8 DESCRIPTION="very polished Tetris clone"
9 HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris"
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 mv configure.in configure.ac || die
26 AT_M4DIR=m4 eautoreconf
27 }
28
29 src_configure() {
30 egamesconf $(use_enable nls)
31 }
32
33 src_install() {
34 default
35 newicon icons/ltris48.xpm ${PN}.xpm
36 make_desktop_entry ltris LTris
37 prepgamesdirs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20