You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
852 B
30 lines
852 B
# Copyright 1999-2008 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/urjtag/urjtag-0.9.ebuild,v 1.4 2008/10/16 08:57:31 armin76 Exp $
|
|
|
|
inherit eutils
|
|
|
|
DESCRIPTION="tool for communicating over JTAG with flash chips, CPUs, and many more (fork of openwince jtag)"
|
|
HOMEPAGE="http://urjtag.sourceforge.net/"
|
|
SRC_URI="mirror://sourceforge/urjtag/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ppc sparc x86"
|
|
IUSE="ftdi readline"
|
|
|
|
DEPEND="!dev-embedded/jtag
|
|
ftdi? ( dev-embedded/libftdi )
|
|
readline? ( sys-libs/readline )"
|
|
|
|
src_compile() {
|
|
use readline || export vl_cv_lib_readline=no
|
|
econf $(use_enable ftdi libftdi) || die
|
|
emake || die
|
|
}
|
|
|
|
src_install() {
|
|
emake DESTDIR="${D}" install || die "failed to install"
|
|
dodoc AUTHORS ChangeLog NEWS README THANKS
|
|
}
|