You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/zaz/zaz-1.0.0.ebuild,v 1.5 2012/05/04 04:45:28 jdhore 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.bz2"
|
|
|
|
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[jpeg,png]
|
|
media-libs/libvorbis
|
|
media-libs/libtheora
|
|
media-libs/ftgl
|
|
virtual/libintl"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig
|
|
nls? ( sys-devel/gettext )"
|
|
|
|
src_prepare() {
|
|
local x=/usr/share/gettext/po/Makefile.in.in
|
|
[[ -e $x ]] && cp -f $x po/ #336119
|
|
|
|
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
|
|
}
|