# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Openspace is powerful, flexible, and utterly configurable file manager for UNIX systems, written using the FOX toolkit. Alternative to those created for KDE / Gnome only" HOMEPAGE="http://openspace.linux.pl/" SRC_URI="http://www.openspace.linux.pl/data/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc" IUSE="" DEPEND="=x11-libs/fox-1.4* dev-libs/libxml2" pkg_setup() { if ! built_with_use x11-libs/fox png ; then eerror "fox-toolkit was not merged with the png" eerror "USE flag. Openspace requires fox be" eerror "built with this flag" die "fox missing png support" fi } src_compile() { CXXFLAGS="-O2" ./configure --prefix=/usr --sysconfdir=/etc || die "configure failed" make || die } src_install() { make DESTDIR=${D} install || die }