blob: 911e0c0bb2d0da4b39c623bde3e039d9b0b77b62 (
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
26
27
28
29
30
31
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/crack-attack/crack-attack-1.1.11.ebuild,v 1.3 2004/11/12 19:17:15 blubb Exp $
inherit eutils flag-o-matic gcc games
DESCRIPTION="Addictive OpenGL-based block game"
HOMEPAGE="https://savannah.nongnu.org/projects/crack-attack/"
SRC_URI="http://savannah.nongnu.org/download/crack-attack/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="arm hppa ia64 ppc sparc x86 ~amd64"
IUSE="gtk"
DEPEND="virtual/glut
gtk? ( >=x11-libs/gtk+-2.4 )"
src_compile() {
append-flags -DGL_GLEXT_LEGACY
[ "$(gcc-fullversion)" == "3.2.3" ] && filter-flags -march=pentium3
egamesconf $(use_enable gtk) || die
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog README
dohtml -A xpm doc/*
prepgamesdirs
}
|