mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
games-arcade/crack-attack: Drop old
Package-Manager: Portage-2.3.28, Repoman-2.3.9
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils games
|
||||
|
||||
DESCRIPTION="Addictive OpenGL-based block game"
|
||||
HOMEPAGE="http://www.nongnu.org/crack-attack/"
|
||||
SRC_URI="https://savannah.nongnu.org/download/crack-attack/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~x86"
|
||||
IUSE="gtk sdl"
|
||||
|
||||
RDEPEND="media-libs/freeglut
|
||||
sdl? ( media-libs/libsdl
|
||||
media-libs/sdl-mixer )
|
||||
gtk? ( >=x11-libs/gtk+-2.6:2 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-glut.patch \
|
||||
"${FILESDIR}"/${P}-gcc43.patch
|
||||
sed -i 's/-lXmu//' src/gtk-gui/Makefile.in src/Makefile.in || die
|
||||
touch -r . * */*
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
egamesconf \
|
||||
--disable-binreloc \
|
||||
$(use_enable sdl sound) \
|
||||
$(use_enable gtk)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dohtml -A xpm doc/*
|
||||
doicon data/crack-attack.xpm
|
||||
make_desktop_entry crack-attack Crack-attack
|
||||
prepgamesdirs
|
||||
}
|
||||
Reference in New Issue
Block a user