summaryrefslogtreecommitdiff
blob: 989b27fcec8aea3fbf41460b61feffbc25a48627 (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-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/piklab/piklab-0.15.7.ebuild,v 1.1 2010/02/28 00:52:41 ssuominen Exp $

EAPI=2
inherit qt4-r2

DESCRIPTION="command-line programmer and debugger for PIC and dsPIC microcontrollers"
HOMEPAGE="http://piklab.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/qt-gui:4[qt3support]
	virtual/libusb:0
	sys-libs/ncurses
	sys-libs/readline"

MAKEOPTS="${MAKEOPTS} -j1"

src_configure() {
	eqmake4 piklab-prog.pro
}

src_install() {
	local bin
	for bin in coff hex prog; do
		dobin src/piklab-${bin}/piklab-${bin} || die
	done
	
	doman man/piklab-{hex,prog}.1 || die
	dodoc README TODO
}