blob: 2662909c2b2cf8ad46531ef95164803d6d495633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/zaz/zaz-0.3.0.ebuild,v 1.2 2009/10/08 21:02:44 mr_bones_ Exp $
EAPI=2
inherit autotools eutils games
DESCRIPTION="A puzzle game where the player has to arrange balls in triplets"
HOMEPAGE="http://sourceforge.net/projects/zaz/"
SRC_URI="mirror://sourceforge/zaz/${P}.tar.gz"
LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls"
RDEPEND="virtual/opengl
virtual/glu
media-libs/libsdl[X,audio,video]
media-libs/sdl-image[png]
media-libs/libvorbis
media-libs/libtheora
media-libs/ftgl
virtual/libintl"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
src_prepare() {
epatch "${FILESDIR}"/${P}-build.patch
eautoreconf
}
src_configure() {
egamesconf \
--disable-dependency-tracking \
--with-applicationdir=/usr/share/applications \
--with-icondir=/usr/share/pixmaps \
--localedir=/usr/share/locale \
$(use_enable nls)
}
src_install() {
emake DESTDIR="${D}" install || die "emake failed"
dodoc AUTHORS ChangeLog
prepgamesdirs
}
|