/[gentoo-x86]/games-kids/cubetest/cubetest-0.9.4.ebuild
Gentoo

Contents of /games-kids/cubetest/cubetest-0.9.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Oct 7 16:25:23 2008 UTC (6 years, 2 months ago) by mr_bones_
Branch: MAIN
Changes since 1.6: +4 -2 lines
add dev-util/pkgconfig for bug #239716
(Portage version: 2.1.4.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.6 2008/06/30 23:15:04 nyhm Exp $
4
5 EAPI=1
6 inherit eutils qt4 games
7
8 DESCRIPTION="A program to train your spatial insight"
9 HOMEPAGE="http://www.vandenoever.info/software/cubetest/"
10 SRC_URI="http://www.vandenoever.info/software/cubetest/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE=""
16
17 RDEPEND="|| (
18 ( x11-libs/qt-gui:4 x11-libs/qt-qt3support:4 )
19 x11-libs/qt:4
20 )"
21 DEPEND="${RDEPEND}
22 dev-util/pkgconfig"
23
24 pkg_setup() {
25 games_pkg_setup
26 QT4_BUILT_WITH_USE_CHECK="qt3support" qt4_pkg_setup
27 }
28
29 src_unpack() {
30 local i
31
32 unpack ${A}
33 cd "${S}"
34 epatch "${FILESDIR}"/${P}-build.patch
35 for i in $(find src/ -iname *_moc.cpp) ; do
36 moc ${i/_moc.cpp/.h} -o $i || die
37 done
38 }
39
40 src_install() {
41 emake DESTDIR="${D}" install || die "emake install failed"
42 prepgamesdirs
43 }

  ViewVC Help
Powered by ViewVC 1.1.20