/[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.2 - (show annotations) (download)
Fri Feb 6 08:07:08 2015 UTC (5 years ago) by mr_bones_
Branch: MAIN
Changes since 1.1: +4 -4 lines
tidy src_install

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

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.1 2013/10/30 17:06:06 mr_bones_ Exp $
4
5 EAPI=5
6 inherit autotools gnome2-utils 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 }
39
40 pkg_preinst() {
41 gnome2_icon_savelist
42 games_pkg_preinst
43 }
44
45 pkg_postinst() {
46 gnome2_icon_cache_update
47 games_pkg_postinst
48 }
49
50 pkg_postrm() {
51 gnome2_icon_cache_update
52 }

  ViewVC Help
Powered by ViewVC 1.1.20