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/pachi/pachi-1.0.ebuild

39 lines
1.0 KiB

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/pachi/pachi-1.0.ebuild,v 1.9 2007/03/12 14:56:01 nyhm Exp $
inherit autotools eutils games
DESCRIPTION="platform game inspired by games like Manic Miner and Jet Set Willy"
HOMEPAGE="http://dragontech.sourceforge.net/index.php?main=pachi&lang=en"
# Upstream doesn't version their releases.
# (should be downloaded and re-compressed with tar -jcvf)
#SRC_URI="mirror://sourceforge/dragontech/pachi_source.tgz"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
DEPEND="media-libs/libsdl
media-libs/sdl-mixer"
S=${WORKDIR}/Pachi
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-autotools.patch
rm -f missing
eautoreconf
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
newicon Tgfx/icon.bmp ${PN}.bmp
make_desktop_entry ${PN} Pachi /usr/share/pixmaps/${PN}.bmp
dodoc AUTHORS ChangeLog README
prepgamesdirs
}