/[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.6 - (hide annotations) (download)
Mon Jun 30 23:15:04 2008 UTC (6 years, 5 months ago) by nyhm
Branch: MAIN
Changes since 1.5: +7 -7 lines
Add split qt-4 dependencies, bug #217170
(Portage version: 2.2_rc1/cvs/Linux 2.6.25.9 x86_64)

1 mr_bones_ 1.5 # Copyright 1999-2008 Gentoo Foundation
2 vapier 1.1 # Distributed under the terms of the GNU General Public License v2
3 nyhm 1.6 # $Header: /var/cvsroot/gentoo-x86/games-kids/cubetest/cubetest-0.9.4.ebuild,v 1.5 2008/06/10 00:40:13 mr_bones_ Exp $
4 vapier 1.1
5 mr_bones_ 1.5 EAPI=1
6 nyhm 1.6 inherit eutils qt4 games
7 vapier 1.1
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 nyhm 1.6 DEPEND="|| (
18     ( x11-libs/qt-gui:4 x11-libs/qt-qt3support:4 )
19     x11-libs/qt:4
20     )"
21 vapier 1.1
22 mr_bones_ 1.4 pkg_setup() {
23     games_pkg_setup
24 nyhm 1.6 QT4_BUILT_WITH_USE_CHECK="qt3support" qt4_pkg_setup
25 mr_bones_ 1.4 }
26    
27 vapier 1.1 src_unpack() {
28 mr_bones_ 1.5 local i
29    
30 vapier 1.1 unpack ${A}
31     cd "${S}"
32     epatch "${FILESDIR}"/${P}-build.patch
33     for i in $(find src/ -iname *_moc.cpp) ; do
34     moc ${i/_moc.cpp/.h} -o $i || die
35     done
36     }
37    
38     src_install() {
39 nyhm 1.3 emake DESTDIR="${D}" install || die "emake install failed"
40     prepgamesdirs
41 vapier 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20