summaryrefslogtreecommitdiff
blob: 99c67bddd15d59ce5afb36efae4f9a8a5bb39829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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/*
}