/[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.1 - (hide annotations) (download)
Wed Oct 30 17:06:06 2013 UTC (6 years, 3 months ago) by mr_bones_
Branch: MAIN
version bump

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

1 mr_bones_ 1.1 # Copyright 1999-2013 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.18.ebuild,v 1.4 2012/03/06 20:39:40 ranger 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     AT_M4DIR=m4 eautoreconf
26     }
27    
28     src_configure() {
29     egamesconf $(use_enable nls)
30     }
31    
32     src_install() {
33     emake DESTDIR="${D}" install
34     dodoc AUTHORS ChangeLog README TODO
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