/[gentoo-x86]/games-board/tetzle/tetzle-2.0.0.ebuild
Gentoo

Contents of /games-board/tetzle/tetzle-2.0.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Mar 9 10:10:27 2012 UTC (2 years, 6 months ago) by phajdan.jr
Branch: MAIN
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #405215

(Portage version: 2.1.10.44/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-board/tetzle/tetzle-2.0.0.ebuild,v 1.2 2012/02/22 10:05:33 ago Exp $
4
5 EAPI=2
6 inherit qt4-r2 games
7
8 DESCRIPTION="A jigsaw puzzle game that uses tetrominoes for the pieces"
9 HOMEPAGE="http://gottcode.org/tetzle/"
10 SRC_URI="http://gottcode.org/${PN}/${P}-src.tar.bz2"
11
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE=""
16
17 DEPEND=">=x11-libs/qt-gui-4.7:4
18 >=x11-libs/qt-opengl-4.7:4"
19
20 DOCS="ChangeLog CREDITS"
21
22 src_prepare() {
23 sed -i -e "s:appdir + \"/../share/\":\"${GAMES_DATADIR}/\":" src/locale_dialog.cpp || die
24 sed -i -e "/qm.path/s:\$\$PREFIX/share:${GAMES_DATADIR}:" ${PN}.pro || die
25 }
26
27 src_configure() {
28 eqmake4 BINDIR="${GAMES_BINDIR/\/usr}" PREFIX="/usr"
29 }
30
31 src_install() {
32 qt4-r2_src_install
33 prepgamesdirs
34 }

  ViewVC Help
Powered by ViewVC 1.1.20