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.
gentoo-overlay/games-arcade/vor/vor-0.5.4.ebuild

40 lines
960 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/vor/vor-0.5.4.ebuild,v 1.5 2012/08/24 07:49:43 mr_bones_ Exp $
EAPI=2
inherit eutils games
DESCRIPTION="Variations on Rockdodger: Dodge the rocks until you die"
HOMEPAGE="http://jasonwoof.org/vor"
SRC_URI="http://qualdan.com/vor/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-image[png]
media-libs/sdl-mixer[mod]"
PATCHES=( "${FILESDIR}"/${P}-underlink.patch )
src_compile() {
emake \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
pkgdatadir="${GAMES_DATADIR}"/${PN} \
|| die "emake failed"
}
src_install() {
dogamesbin ${PN} || die "dogamesbin failed"
insinto "${GAMES_DATADIR}"/${PN}
doins data/* || die "doins failed"
newicon data/icon.png ${PN}.png
make_desktop_entry ${PN} VoR
dodoc README todo
prepgamesdirs
}