diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-18 09:05:12 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2019-02-18 09:08:15 +0000 |
commit | dc37c459689824c2d03df7b353bba84c362e6b87 (patch) | |
tree | 663dfa5eafc6f84a01c18d8b4527a398e4997fce /dev-embedded/openocd/openocd-9999.ebuild | |
parent | dev-lang/jimtcl: add subslot based on SONAME (diff) | |
download | gentoo-dc37c459689824c2d03df7b353bba84c362e6b87.tar.gz gentoo-dc37c459689824c2d03df7b353bba84c362e6b87.tar.bz2 gentoo-dc37c459689824c2d03df7b353bba84c362e6b87.zip |
dev-embedded/openocd: update to EAPI=7
A few changes:
- add a subslot depend on jimtcl
- switch to dostrip
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-embedded/openocd/openocd-9999.ebuild')
-rw-r--r-- | dev-embedded/openocd/openocd-9999.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild index 57ba7a8c69e9..ce0f6e7381b5 100644 --- a/dev-embedded/openocd/openocd-9999.ebuild +++ b/dev-embedded/openocd/openocd-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="5" +EAPI="7" inherit eutils multilib flag-o-matic toolchain-funcs udev user @@ -25,7 +25,7 @@ SLOT="0" IUSE="+cmsis-dap dummy +ftdi +jlink parport +usb verbose-io" RESTRICT="strip" # includes non-native binaries -RDEPEND=">=dev-lang/jimtcl-0.76 +RDEPEND=">=dev-lang/jimtcl-0.76:0= cmsis-dap? ( dev-libs/hidapi ) jlink? ( dev-embedded/libjaylink ) usb? ( @@ -43,7 +43,7 @@ pkg_setup() { } src_prepare() { - epatch_user + default if [[ ${PV} == "9999" ]] ; then AT_NO_RECURSIVE=yes eautoreconf @@ -136,7 +136,7 @@ src_configure() { src_install() { default - env -uRESTRICT prepstrip "${ED}"/usr/bin + dostrip "${ED}"/usr/bin udev_dorules "${D}"/usr/share/${PN}/contrib/*.rules } |