diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2018-07-11 00:33:25 +0300 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2018-07-11 00:34:02 +0300 |
commit | 13540863d7f3ed24d64317a54670eb54fb66dd05 (patch) | |
tree | 891fa68d668bf210acf9912e35433bc2c7163477 /dev-embedded/stlink | |
parent | games-fps/eduke32: drop old version (diff) | |
download | gentoo-13540863d7f3ed24d64317a54670eb54fb66dd05.tar.gz gentoo-13540863d7f3ed24d64317a54670eb54fb66dd05.tar.bz2 gentoo-13540863d7f3ed24d64317a54670eb54fb66dd05.zip |
dev-embedded/stlink: Version bump
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'dev-embedded/stlink')
-rw-r--r-- | dev-embedded/stlink/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/stlink/stlink-1.5.0.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-embedded/stlink/Manifest b/dev-embedded/stlink/Manifest index 4722be262796..6d0b6cd5b4a6 100644 --- a/dev-embedded/stlink/Manifest +++ b/dev-embedded/stlink/Manifest @@ -1 +1,2 @@ DIST stlink-1.4.0.tar.gz 138765 BLAKE2B e7dddd51e4ff0c0342b3df62a10b33736acf6380afc449e3ac7d67b607bc217df05b02ddcfed73d83190b9a5cb02f5f1d01beaab5de5f3cd92214fd916793b9e SHA512 cb7617068a6dcaf7e8d0ccfb8b918f0373f6120398dab40a8b8d6567705871226684fd19aad92e4bab623310a5da13ea9fd70153b619f58d3534f0a4ff3a9886 +DIST stlink-1.5.0.tar.gz 140484 BLAKE2B fa6f0a770ccc77629e4edcbd1a6112f8917ac84c00693756d4905b92c5ba83f445193e65c37cda5e5942605bb3da0fa6a6833af52d9572c73b0796ece754ffad SHA512 0e93c0fdcd377c6f2d452b9b6fa00b741dc0dd906673773ef09185aca4f63930db61e137bb28c47e34218edca9f7a80cd05352fb8f9d8e50b000c779cc36580a diff --git a/dev-embedded/stlink/stlink-1.5.0.ebuild b/dev-embedded/stlink/stlink-1.5.0.ebuild new file mode 100644 index 000000000000..b733c93f5a36 --- /dev/null +++ b/dev-embedded/stlink/stlink-1.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils udev + +DESCRIPTION="stm32 discovery line linux programmer" +HOMEPAGE="https://github.com/texane/stlink" +if [[ ${PV} == "9999" ]]; then + EGIT_REPO_URI="https://github.com/texane/stlink.git" + inherit git-r3 +else + SRC_URI="https://github.com/texane/stlink/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="" + +RDEPEND="virtual/libusb:1 + >=dev-libs/glib-2.32.0:2 + x11-libs/gtk+:3" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + local mycmakeargs=( + -DSTLINK_UDEV_RULES_DIR="$(get_udevdir)"/rules.d + -DSTLINK_MODPROBED_DIR="${EPREFIX}/etc/modprobe.d" + -DLIB_INSTALL_DIR:PATH="$(get_libdir)" + ) + + cmake-utils_src_configure +} |