diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-embedded/stlink |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-embedded/stlink')
-rw-r--r-- | dev-embedded/stlink/Manifest | 4 | ||||
-rw-r--r-- | dev-embedded/stlink/metadata.xml | 8 | ||||
-rw-r--r-- | dev-embedded/stlink/stlink-1.4.0.ebuild | 35 | ||||
-rw-r--r-- | dev-embedded/stlink/stlink-9999.ebuild | 35 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-embedded/stlink/Manifest b/dev-embedded/stlink/Manifest new file mode 100644 index 000000000000..2bfd89171402 --- /dev/null +++ b/dev-embedded/stlink/Manifest @@ -0,0 +1,4 @@ +DIST stlink-1.4.0.tar.gz 138765 SHA256 d99b8385cce8071d5e58de21b6c8866058af20a8dd46ecf01e1c1dc3aa038cc9 SHA512 cb7617068a6dcaf7e8d0ccfb8b918f0373f6120398dab40a8b8d6567705871226684fd19aad92e4bab623310a5da13ea9fd70153b619f58d3534f0a4ff3a9886 WHIRLPOOL 1b431c2766edbc0e4aa97022a3d9ca4852d993c15964f34e5dd4603e80691a15c20f0d771f4012f2d88802c1e26fdb53bf5a5bb8694df710e283662bc4d0f78c +EBUILD stlink-1.4.0.ebuild 757 SHA256 90ab363ce3db394c50e29c15e25fe13968f3cb3007c4b9004f87d28de73974b1 SHA512 3851532f4774e64cb067eba2ff000c86704c078fd30321fb24e6f06011752fdc55be8c857b8e1ae5c12ffd5c737c7e9cd7b15500e50073a3d4c65c1273f902be WHIRLPOOL d1e17359197bce2df6230485055db4fa9ef68fca88d6e00fdad02cc8c895eca8a31e3a6e151d6a373d65533c31b894c828753b3224a60935a255ce86987ce562 +EBUILD stlink-9999.ebuild 757 SHA256 90ab363ce3db394c50e29c15e25fe13968f3cb3007c4b9004f87d28de73974b1 SHA512 3851532f4774e64cb067eba2ff000c86704c078fd30321fb24e6f06011752fdc55be8c857b8e1ae5c12ffd5c737c7e9cd7b15500e50073a3d4c65c1273f902be WHIRLPOOL d1e17359197bce2df6230485055db4fa9ef68fca88d6e00fdad02cc8c895eca8a31e3a6e151d6a373d65533c31b894c828753b3224a60935a255ce86987ce562 +MISC metadata.xml 248 SHA256 034694f5c60a5926a21bcb6c19c69033cc82a74340f618b26da0eb1b9ff8b461 SHA512 89d637e180ed3a2c2096be2210633dc5df0760a7d6acd7b2d2ad8a06d473943ee86bad7e74c7df238a50168d1da8044471713e9b044007b9c2f4eb604fb710d5 WHIRLPOOL 3b55b8ebfe32cb624a62fa22b0a9cecf5fe7bf2cb556d04e9c0b269d8eb9bfbd1e790b6cbbcd8bc19efab3bf20649cebc1bde3447fa284d7f3533ea94638dac0 diff --git a/dev-embedded/stlink/metadata.xml b/dev-embedded/stlink/metadata.xml new file mode 100644 index 000000000000..086586c08a88 --- /dev/null +++ b/dev-embedded/stlink/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>alexxy@gentoo.org</email> + <name>Alexey Shvetsov</name> + </maintainer> +</pkgmetadata> diff --git a/dev-embedded/stlink/stlink-1.4.0.ebuild b/dev-embedded/stlink/stlink-1.4.0.ebuild new file mode 100644 index 000000000000..c7300459c355 --- /dev/null +++ b/dev-embedded/stlink/stlink-1.4.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 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" + ) + + cmake-utils_src_configure +} diff --git a/dev-embedded/stlink/stlink-9999.ebuild b/dev-embedded/stlink/stlink-9999.ebuild new file mode 100644 index 000000000000..c7300459c355 --- /dev/null +++ b/dev-embedded/stlink/stlink-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 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" + ) + + cmake-utils_src_configure +} |