add ebuilds for stlink and gcc-arm-embedded-bin

This commit is contained in:
S.J.R. van Schaik 2017-02-27 14:59:41 +00:00
commit 5d0742ec27
7 changed files with 136 additions and 0 deletions

View file

@ -0,0 +1 @@
EBUILD stlink-9999.ebuild 794 SHA256 ae04620a6d2834126f113f34082e5f8be195b1ecd2778a9400802f770c07a833 SHA512 860927d395cf5894387083f4683656c92fef02a34f6acf9abca017580ce2fc112b0fd0142b20b9cac9f5e2a62586f8a31ed6bb0cb4475b712595d200188a8fde WHIRLPOOL b819f3da701ef8c812b53a18b5e81bec8045348601b8e9fd2544599c0d2fa50b118b191a8f670da868de07a6b181abb808a55395ad78674f977d4359d19a6cb6

View file

@ -0,0 +1,37 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit git-r3 cmake-utils flag-o-matic linux-info
DESCRIPTION="On board debugger driver for stm32-discovery boards"
HOMEPAGE="https://github.com/texane/stlink"
EGIT_REPO_URI="https://github.com/texane/stlink"
LICENSE="BSD"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="
virtual/libusb"
DEPEND="$RDEPEND
virtual/libusb
virtual/pkgconfig"
pkg_pretend() {
if linux_config_exists; then
if ! linux_chkconfig_module USB_STORAGE; then
ewarn "You will need to rebuild usb-storage as a module for v1 stlink to work."
fi
fi
}
src_install() {
enable_cmake-utils_src_install
cp -r etc $D
einfo "You may want to run \`udevadm control --reload-rules'."
dodoc README.md
}