blob: c50ec3e89f5a6f182846850e53805e9b314baceb (
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
|
# $NetBSD: Makefile,v 1.5 2020/01/26 05:26:17 rillig Exp $
#
DISTNAME= dfu-util-0.9
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dfu-util/files/}
MAINTAINER= noud4@users.sourceforge.net
HOMEPAGE= http://dfu-util.sourceforge.net/
COMMENT= Host side implementation of the USB DFU protocol
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
CPPFLAGS+= "-I${BUILDLINK_PREFIX.libusb1}/include/libusb-1.0"
CONFIGURE_ARGS+= -prefix=${PREFIX}
CONFIGURE_ARGS+= CPPFLAGS="${CPPFLAGS}"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly"
BUILDLINK_TRANSFORM+= l:usb:usb-1.0
.endif
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|