# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ #LIBTOOLIZE="true" inherit eutils autotools DESCRIPTION="GNU Computer Aided Manufacturing" SRC_URI="http://gcam.js.cx/files/${P}.tar.gz" HOMEPAGE="http://gcam.js.cx" IUSE="" SLOT="0" LICENSE="LGPL-2.1" RDEPEND=">=x11-libs/gtk+-2.10 >=x11-libs/gtkglext-1.0" KEYWORDS="~amd64 ~x86" src_unpack() { unpack "${A}" cd "${S}" epatch "${FILESDIR}"/gcam_datadir_cleanup.patch eautoreconf } src_install() { make DESTDIR="${D}" install || die "Installation failed" }