summaryrefslogtreecommitdiff
blob: ba2470223a6a9d5fe6da7c48890244b6abd3e61a (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/usbprog/usbprog-0.2.0.ebuild,v 1.1 2010/09/10 23:33:42 robbat2 Exp $

EAPI=3
inherit eutils
DESCRIPTION="flashtool for the multi purpose programming adapter usbprog"

HOMEPAGE="http://www.embedded-projects.net/index.php?page_id=215"

SRC_URI="mirror://berlios/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="X"
DEPEND="X? ( >=x11-libs/wxGTK-2.6.0 )
	>=dev-libs/libxml2-2.0.0
	net-misc/curl
	dev-libs/libusb
	sys-libs/readline"

RDEPEND="${DEPEND}"

src_configure() {
	econf $(use_enable X gui) || die "econf failed"
}

src_install() {
	emake install DESTDIR="${D}" || die "einstall failed"
}