From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9C1081388C4 for ; Thu, 31 Dec 2015 13:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1139121C01C; Thu, 31 Dec 2015 13:11:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35A2F21C015 for ; Thu, 31 Dec 2015 13:11:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0EDED340896 for ; Thu, 31 Dec 2015 13:11:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D541CCF7 for ; Thu, 31 Dec 2015 13:11:28 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1451567391.fb314e81beb8f3dcaa41b8db99b3b1e974708488.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/urjtag/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/urjtag/urjtag-0.10-r1.ebuild X-VCS-Directories: dev-embedded/urjtag/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: fb314e81beb8f3dcaa41b8db99b3b1e974708488 X-VCS-Branch: master Date: Thu, 31 Dec 2015 13:11:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 9f9f6c81-4d26-43b0-93af-c2214985571f X-Archives-Hash: f8057b06c28d9f5f73bc3fc36822f890 commit: fb314e81beb8f3dcaa41b8db99b3b1e974708488 Author: Sven Wegener gentoo org> AuthorDate: Thu Dec 31 13:05:39 2015 +0000 Commit: Sven Wegener gentoo org> CommitDate: Thu Dec 31 13:09:51 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb314e81 dev-embedded/urjtag: Revision bump, SLOT dep on libftdi, bug #503908 Signed-off-by: Sven Wegener gentoo.org> dev-embedded/urjtag/urjtag-0.10-r1.ebuild | 57 +++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/dev-embedded/urjtag/urjtag-0.10-r1.ebuild b/dev-embedded/urjtag/urjtag-0.10-r1.ebuild new file mode 100644 index 0000000..cfac982 --- /dev/null +++ b/dev-embedded/urjtag/urjtag-0.10-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# TODO: figure out htf to make python.eclass work + +EAPI="5" + +inherit eutils multilib +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag" + EGIT_SOURCEDIR=${WORKDIR} + inherit git-r3 autotools + S=${WORKDIR}/${PN} +else + SRC_URI="mirror://sourceforge/urjtag/${P}.tar.bz2" + KEYWORDS="~amd64 ~ppc ~sparc ~x86" +fi + +DESCRIPTION="tool for communicating over JTAG with flash chips, CPUs, and many more (fork of openwince jtag)" +HOMEPAGE="http://urjtag.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="ftd2xx ftdi readline usb" + +DEPEND="ftdi? ( dev-embedded/libftdi:0 ) + ftd2xx? ( dev-embedded/libftd2xx ) + readline? ( sys-libs/readline:= ) + usb? ( virtual/libusb:0 )" +RDEPEND="${DEPEND} + !dev-embedded/jtag" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + mkdir -p m4 + eautopoint + eautoreconf + fi +} + +src_configure() { + use readline || export vl_cv_lib_readline=no + use ftd2xx && LDFLAGS="${LDFLAGS} -L/opt/$(get_libdir)" + + econf \ + --disable-werror \ + --disable-python \ + $(use_with ftdi libftdi) \ + $(use_with ftd2xx) \ + $(use_with usb libusb) +} + +src_install() { + default + prune_libtool_files +}