From 877ab38ad89a5ee74f57fb0b2f0fca66d0e9ef5e Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Wed, 19 Dec 2018 09:37:27 +0100 Subject: [PATCH] import dev-util/openocd from ::japaric --- .../dev-util/openocd/openocd-0.9.0.exheres-0 | 7 ++++ .../dev-util/openocd/openocd-scm.exheres-0 | 27 +++++++++++++++ packages/dev-util/openocd/openocd.exlib | 34 +++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 packages/dev-util/openocd/openocd-0.9.0.exheres-0 create mode 100644 packages/dev-util/openocd/openocd-scm.exheres-0 create mode 100644 packages/dev-util/openocd/openocd.exlib diff --git a/packages/dev-util/openocd/openocd-0.9.0.exheres-0 b/packages/dev-util/openocd/openocd-0.9.0.exheres-0 new file mode 100644 index 0000000..673e7a8 --- /dev/null +++ b/packages/dev-util/openocd/openocd-0.9.0.exheres-0 @@ -0,0 +1,7 @@ +# Copyright 2015 Marvin Schmidt +# Distributed under the terms of the GNU General Public License v2 + +require openocd + +PLATFORMS="~amd64" + diff --git a/packages/dev-util/openocd/openocd-scm.exheres-0 b/packages/dev-util/openocd/openocd-scm.exheres-0 new file mode 100644 index 0000000..7a60cee --- /dev/null +++ b/packages/dev-util/openocd/openocd-scm.exheres-0 @@ -0,0 +1,27 @@ +# Copyright 2014 Jorge Aparicio +# Distributed under the terms of the GNU General Public License v2 + +SCM_git2cl_REPOSITORY="http://repo.or.cz/r/git2cl.git" +SCM_jimtcl_REPOSITORY="http://repo.or.cz/r/jimtcl" +SCM_libjaylink_REPOSITORY="http://repo.or.cz/r/libjaylink" + +SCM_SECONDARY_REPOSITORIES=" +git2cl +jimtcl +libjaylink +" + +SCM_EXTERNAL_REFS=" +jimtcl:jimtcl +src/jtag/drivers/libjaylink:libjaylink +tools/git2cl:git2cl +" + +require openocd +require github [ user=ntfreak ] +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ] + +PLATFORMS="~amd64" + +AT_NO_RECURSIVE=1 + diff --git a/packages/dev-util/openocd/openocd.exlib b/packages/dev-util/openocd/openocd.exlib new file mode 100644 index 0000000..c3950e9 --- /dev/null +++ b/packages/dev-util/openocd/openocd.exlib @@ -0,0 +1,34 @@ +# Copyright 2014 Jorge Aparicio +# Copyright 2015 Marvin Schmidt +# Distributed under the terms of the GNU General Public License v2 + +require sourceforge [ suffix=tar.gz ] + +SUMMARY="Open On-Chip Debugger" + +LICENCES="GPL-2" +SLOT="0" + +MYOPTIONS=" + ftdi [[ description = [ Build support for FTDI devices ] ]] + parport [[ description = [ Build the parallel port driver ] ]] +" + +DEPENDENCIES=" + build+run: + virtual/usb:1 + ftdi? ( dev-libs/libftdi:1 ) +" + +DEFAULT_SRC_CONFIGURE_PARAMS=( + --disable-werror +) + +DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( + "ftdi openjtag_libftdi" + "ftdi presto_libftdi" + "ftdi usb_blaster_libftdi" + ftdi + parport +) +