summaryrefslogtreecommitdiff
blob: fbb6a0352f1dcd803fd58444da3442a11fb5baa1 (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
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdegames/kdegames-3.1.5.ebuild,v 1.3 2004/01/29 12:55:41 agriffis Exp $
inherit kde-dist eutils

DESCRIPTION="KDE games (solitaire :-)"
IUSE=""
KEYWORDS="x86 ~ppc ~sparc hppa ~amd64 alpha ia64"

src_compile() {
	if [ ${ARCH} == "alpha" ] ; then
		export DO_NOT_COMPILE="kmines" # still b0rken on alpha
	fi
	kde_src_compile myconf configure
	if [ ${ARCH} == "alpha" ] ; then
		# ksirtet dies without kmines' libkdehighscores, so we have to build it
		# manually if we want ksirtet. Which we do. Everyone loves tetris!
		# First, we build libkdegames, since libkdehighscores depends on it.
		cd ${S}/libkdegames
		emake || die "died trying to build libkdegames"
		cd ../kmines/generic
		emake || die "died trying to build kmines/generic/libkdehighscores.la"
	fi
	kde_src_compile make
}