blob: 18bc96c14ffdae69ce96a49e963e84550048195c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit git-2 flag-o-matic
DESCRIPTION="On board debugger driver for stm32-discovery boards"
HOMEPAGE="https://github.com/burjui/stlink"
EGIT_REPO_URI="git://github.com/karlp/stlink.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="
virtual/libusb
virtual/pkgconfig"
RDEPEND="${DEPEND}"
src_configure() {
./autogen.sh
econf
}
src_compile() {
emake || die "Make failed!"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
|