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/circuslinux/circuslinux-1.0.3.ebuild

39 lines
833 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils games
DESCRIPTION="clone of the Atari 2600 game \"Circus Atari\""
SRC_URI="ftp://ftp.sonic.net/pub/users/nbs/unix/x/circus-linux/${P}.tar.gz"
HOMEPAGE="http://www.newbreedsoftware.com/circus-linux/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ~sparc x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-image[png]
media-libs/sdl-mixer[mod]"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i \
-e "/^install-data-am/d" \
Makefile.in \
|| die
sed -i \
-e 's/\$(pkgdatadir)/$(DESTDIR)&/' \
data/Makefile.in \
|| die
}
src_install () {
emake DESTDIR="${D}" install
newicon data/images/${PN}-icon.xpm ${PN}.xpm
make_desktop_entry ${PN} "Circus Linux!"
dodoc *.txt
prepgamesdirs
}