# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/games-misc/xcruiser/xcruiser-0.30.ebuild,v 1.7 2012/11/11 02:38:04 mr_bones_ Exp $ inherit toolchain-funcs DESCRIPTION="Fly about 3D-formed file system" HOMEPAGE="http://xcruiser.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="" RESTRICT="test" RDEPEND="x11-libs/libXaw x11-libs/libXp" DEPEND="${RDEPEND} app-text/rman x11-misc/gccmakedep x11-misc/imake" src_compile() { xmkmf -a emake CC=$(tc-getCC) CDEBUGFLAGS="${CFLAGS}" LOCAL_LDFLAGS="${LDFLAGS}" || die "emake failed" } src_install() { dobin xcruiser || die "dobin failed" dodoc CHANGES README README.jp TODO newman xcruiser.man xcruiser.1 }