# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header:$ inherit versionator eutils DESCRIPTION="A powerful Constructive Solid Geometry (CSG) solid modeling system" HOMEPAGE="http://brlcad.sourceforge.net/" SRC_URI="mirror://sourceforge/brlcad/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/x11 png? ( >=media-libs/libpng-1.2.8 )" S="${WORKDIR}/${PN}-$(get_version_component_range 1-2)" src_unpack() { unpack ${A} } src_compile() { econf || die "econf failed" emake || die "emake failed" } src_install() { einstall || die }