You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
1.0 KiB
47 lines
1.0 KiB
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/games-action/abuse/abuse-0.8.ebuild,v 1.7 2014/12/30 19:00:57 tupone Exp $
|
|
|
|
EAPI=4
|
|
inherit autotools eutils games
|
|
|
|
DESCRIPTION="port of Abuse by Crack Dot Com"
|
|
HOMEPAGE="http://abuse.zoy.org/"
|
|
SRC_URI="http://abuse.zoy.org/raw-attachment/wiki/download/${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2 WTFPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc x86"
|
|
IUSE=""
|
|
|
|
DEPEND=">=media-libs/libsdl-1.1.6[sound,opengl,video]
|
|
media-libs/sdl-mixer
|
|
virtual/opengl"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-gentoo.patch
|
|
eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
egamesconf \
|
|
--with-assetdir="${GAMES_DATADIR}/${PN}"
|
|
}
|
|
|
|
src_install() {
|
|
# Source-based install
|
|
default
|
|
|
|
doicon doc/${PN}.png
|
|
make_desktop_entry abuse Abuse
|
|
|
|
prepgamesdirs
|
|
}
|
|
|
|
pkg_postinst() {
|
|
games_pkg_postinst
|
|
elog "NOTE: If you had previous version of abuse installed"
|
|
elog "you may need to remove ~/.abuse for the game to work correctly."
|
|
}
|