# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-cdr/pxlinux/pxlinux-0.0.4-r1.ebuild,v 1.1 2005/09/10 07:33:48 vapier Exp $ inherit eutils DESCRIPTION="PlexTools-like app for Plextor drives in linux" HOMEPAGE="http://www-user.tu-chemnitz.de/~noe/Plextor/" SRC_URI="http://www-user.tu-chemnitz.de/~noe/Plextor/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="gnuplot" RDEPEND="gnuplot? ( dev-lang/python media-gfx/gnuplot )" S=${WORKDIR}/${PN} src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-cleanups.patch rm -f Makefile } src_compile() { emake ta pif pisum8 jitterbeta || die "compile failed" } src_install() { dobin ta pif pisum8 jitterbeta || die "dobin failed" use gnuplot && dobin *.py dodoc CHANGELOG dohtml -r doc_html/* }