diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-embedded/urjtag | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-embedded/urjtag')
-rw-r--r-- | dev-embedded/urjtag/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/urjtag/metadata.xml | 12 | ||||
-rw-r--r-- | dev-embedded/urjtag/urjtag-0.10.ebuild | 29 | ||||
-rw-r--r-- | dev-embedded/urjtag/urjtag-9999.ebuild | 58 |
4 files changed, 100 insertions, 0 deletions
diff --git a/dev-embedded/urjtag/Manifest b/dev-embedded/urjtag/Manifest new file mode 100644 index 00000000000..44d8a84cc6f --- /dev/null +++ b/dev-embedded/urjtag/Manifest @@ -0,0 +1 @@ +DIST urjtag-0.10.tar.bz2 959834 SHA256 7b740416240923ce3610c5253112ee4eac890461b7af982859ff24d41c5778b7 SHA512 245fc276793dbc7791be0989b75beba7f16e8543f35403d645aadcee8d8d613261509392da7e5dd97e5a2de6e87b18276c394cc6353f01e5d1d4907ffb5811ff WHIRLPOOL 2bcda2ab3653ce507b352350007c9a0e774f77ca2ef3db98aeeff4a8f92a68c0c2376c5b5a2e1c3b85d8b366d0f72c5db1d7e8ca8372a083f5e763f38f0670e0 diff --git a/dev-embedded/urjtag/metadata.xml b/dev-embedded/urjtag/metadata.xml new file mode 100644 index 00000000000..4089bd78e37 --- /dev/null +++ b/dev-embedded/urjtag/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dev-embedded</herd> + <use> + <flag name="ftd2xx">Enable support for USB FTDI chips via <pkg>dev-embedded/libftd2xx</pkg></flag> + <flag name="ftdi">Enable support for USB FTDI chips via <pkg>dev-embedded/libftdi</pkg></flag> + </use> + <upstream> + <remote-id type="sourceforge">urjtag</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-embedded/urjtag/urjtag-0.10.ebuild b/dev-embedded/urjtag/urjtag-0.10.ebuild new file mode 100644 index 00000000000..1165f2b47c6 --- /dev/null +++ b/dev-embedded/urjtag/urjtag-0.10.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} diff --git a/dev-embedded/urjtag/urjtag-9999.ebuild b/dev-embedded/urjtag/urjtag-9999.ebuild new file mode 100644 index 00000000000..a2b83fffeaa --- /dev/null +++ b/dev-embedded/urjtag/urjtag-9999.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# TODO: figure out htf to make python.eclass work + +EAPI="4" + +inherit eutils multilib +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://urjtag.git.sourceforge.net/gitroot/urjtag/urjtag" + EGIT_SOURCEDIR=${WORKDIR} + inherit git-2 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 static-libs usb" + +DEPEND="ftdi? ( dev-embedded/libftdi ) + ftd2xx? ( dev-embedded/libftd2xx ) + readline? ( sys-libs/readline ) + usb? ( virtual/libusb:1 )" +RDEPEND="${DEPEND} + !dev-embedded/jtag" + +src_prepare() { + if [[ ${PV} == "9999" ]] ; then + mkdir -p m4 + eautopoint + eautoreconf + fi +} + +src_configure() { + use ftd2xx && LDFLAGS="${LDFLAGS} -L/opt/$(get_libdir)" + + econf \ + --disable-werror \ + --disable-python \ + $(use_with readline) \ + $(use_with ftdi libftdi) \ + $(use_with ftd2xx) \ + $(use_enable static-libs static) \ + $(use_with usb libusb 1.0) +} + +src_install() { + default + use static-libs || find "${ED}" -name '*.la' -delete +} |