/[gentoo-x86]/dev-embedded/urjtag/urjtag-9999.ebuild
Gentoo

Diff of /dev-embedded/urjtag/urjtag-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.3
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-embedded/urjtag/urjtag-9999.ebuild,v 1.1 2012/03/12 03:17:35 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-embedded/urjtag/urjtag-9999.ebuild,v 1.3 2013/01/20 13:58:53 swegener Exp $
4 4
5# TODO: figure out htf to make python.eclass work 5# TODO: figure out htf to make python.eclass work
6 6
7EAPI="4" 7EAPI="4"
8 8
9inherit eutils 9inherit eutils multilib
10if [[ ${PV} == "9999" ]] ; then 10if [[ ${PV} == "9999" ]] ; then
11 EGIT_REPO_URI="git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag" 11 EGIT_REPO_URI="git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag"
12 EGIT_SOURCEDIR=${WORKDIR} 12 EGIT_SOURCEDIR=${WORKDIR}
13 inherit git-2 autotools 13 inherit git-2 autotools
14 S=${WORKDIR}/${PN} 14 S=${WORKDIR}/${PN}
20DESCRIPTION="tool for communicating over JTAG with flash chips, CPUs, and many more (fork of openwince jtag)" 20DESCRIPTION="tool for communicating over JTAG with flash chips, CPUs, and many more (fork of openwince jtag)"
21HOMEPAGE="http://urjtag.sourceforge.net/" 21HOMEPAGE="http://urjtag.sourceforge.net/"
22 22
23LICENSE="GPL-2" 23LICENSE="GPL-2"
24SLOT="0" 24SLOT="0"
25IUSE="ftdi readline static-libs usb" 25IUSE="ftd2xx ftdi readline static-libs usb"
26 26
27DEPEND="ftdi? ( dev-embedded/libftdi ) 27DEPEND="ftdi? ( dev-embedded/libftdi )
28 ftd2xx? ( dev-embedded/libftd2xx )
28 readline? ( sys-libs/readline ) 29 readline? ( sys-libs/readline )
29 usb? ( virtual/libusb:1 )" 30 usb? ( virtual/libusb:1 )"
30RDEPEND="${DEPEND} 31RDEPEND="${DEPEND}
31 !dev-embedded/jtag" 32 !dev-embedded/jtag"
32 33
37 eautoreconf 38 eautoreconf
38 fi 39 fi
39} 40}
40 41
41src_configure() { 42src_configure() {
43 use ftd2xx && LDFLAGS="${LDFLAGS} -L/opt/$(get_libdir)"
44
42 econf \ 45 econf \
43 --disable-werror \ 46 --disable-werror \
44 --disable-python \ 47 --disable-python \
45 $(use_with readline) \ 48 $(use_with readline) \
46 $(use_with ftdi libftdi) \ 49 $(use_with ftdi libftdi) \
50 $(use_with ftd2xx) \
47 $(use_enable static-libs static) \ 51 $(use_enable static-libs static) \
48 $(use_with usb libusb 1.0) 52 $(use_with usb libusb 1.0)
49} 53}
50 54
51src_install() { 55src_install() {

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20