summaryrefslogtreecommitdiff
path: root/cross/stlink/Makefile
blob: 7924a8f852e9d7548aa37a6ceb7a96ccf58ddfb7 (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
# $NetBSD: Makefile,v 1.3 2016/12/03 20:23:44 wiedi Exp $

DISTNAME=	stlink-1.2.0
CATEGORIES=	cross
MASTER_SITES=	${MASTER_SITE_GITHUB:=texane/}
GITHUB_PROJECT=	stlink
GITHUB_TAG=	${PKGVERSION_NOREV}

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://github.com/texane/stlink
COMMENT=	STM32 Discovery STLINKv1/v2 programming tool
LICENSE=	modified-bsd

USE_TOOLS+=	automake pkg-config
GNU_CONFIGURE=	yes

LDFLAGS.SunOS+=	-lsocket -lnsl

pre-configure:
	cd ${WRKSRC} && \
	aclocal; autoheader; automake -a --foreign -i; autoconf

.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"