# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="A 3D star map viewer" HOMEPAGE="http://spacechart.sourceforge.net/" SRC_URI="http://heanet.dl.sourceforge.net/sourceforge/spacechart/spacechart-0.9.4.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="X gnome" DEPEND=">=gnome-base/ORBit-0.5.17 >=sys-devel/flex-2.5.4a-r5 >=sys-devel/bison-1.875" S=${WORKDIR}/${P} src_compile() { econf || die emake || die } src_install() { # You must *personally verify* that this trick doesn't install # anything outside of DESTDIR; do this by reading and # understanding the install part of the Makefiles. make DESTDIR=${D} install || die }