# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-gfx/sharpconstruct/sharpconstruct-0.11.ebuild,v 1.3 2006/03/05 15:04:10 mattepiu Exp $ inherit gnome2 eutils DESCRIPTION="3D sculting application" HOMEPAGE="http://sharp3d.sourceforge.net/mediawiki/index.php/Main_Page" SRC_URI="mirror://sourceforge/sharp3d/${P}.tar.bz2" SLOT="0" LICENSE="GPL-2 LGPL-2.1" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND} >=dev-cpp/gtkglextmm-1.2.0 >=x11-libs/gtk+-2.8.0 >=dev-cpp/gtkmm-2.8.0 >=dev-cpp/libglademm-2.6.0" src_unpack() { unpack ${A} cd ${S} } src_compile() { ./configure --prefix=/usr/ || die "failed to configure" make || die "failed to compile" } src_install() { make DESTDIR=${D} install || die "failed to install" insinto /usr/share/icons/hicolor/64x64/apps newins ${WORKDIR}/${P}/share/sharpconstruct/interface/icon.png sharpconstruct.png }