pkgsrc/cross/stlink/Makefile
2016-12-03 20:23:44 +00:00

24 lines
602 B
Makefile

# $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"