summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorsevan <sevan>2016-12-03 03:26:07 +0000
committersevan <sevan>2016-12-03 03:26:07 +0000
commit2bd57f4dc6ba57b9b030f106f00a2865fa1babbc (patch)
treeb8ad4b0d12a59ea680d077926a7440dae5ebbd1c /comms
parentc600800464a0621c33a582dbf5e65f99aabcfc4e (diff)
downloadpkgsrc-2bd57f4dc6ba57b9b030f106f00a2865fa1babbc.tar.gz
Import dfu-util 0.9
ok wiedi
Diffstat (limited to 'comms')
-rw-r--r--comms/dfu-util/DESCR2
-rw-r--r--comms/dfu-util/Makefile27
-rw-r--r--comms/dfu-util/PLIST5
-rw-r--r--comms/dfu-util/distinfo6
4 files changed, 40 insertions, 0 deletions
diff --git a/comms/dfu-util/DESCR b/comms/dfu-util/DESCR
new file mode 100644
index 00000000000..ee9fd45ed78
--- /dev/null
+++ b/comms/dfu-util/DESCR
@@ -0,0 +1,2 @@
+Host (PC) side implementation of the USB DFU (Universal Serial Bus Device
+Firmware Upgrade) protocol.
diff --git a/comms/dfu-util/Makefile b/comms/dfu-util/Makefile
new file mode 100644
index 00000000000..87b391f69a8
--- /dev/null
+++ b/comms/dfu-util/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2016/12/03 03:26:07 sevan 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"
diff --git a/comms/dfu-util/PLIST b/comms/dfu-util/PLIST
new file mode 100644
index 00000000000..3b2f3a3d463
--- /dev/null
+++ b/comms/dfu-util/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/03 03:26:07 sevan Exp $
+bin/dfu-prefix
+bin/dfu-suffix
+bin/dfu-util
+man/man1/dfu-util.1
diff --git a/comms/dfu-util/distinfo b/comms/dfu-util/distinfo
new file mode 100644
index 00000000000..1e940e033ff
--- /dev/null
+++ b/comms/dfu-util/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/12/03 03:26:07 sevan Exp $
+
+SHA1 (dfu-util-0.9.tar.gz) = 8fd46461b6990dd72bb0a10ad34fe76d4fec4565
+RMD160 (dfu-util-0.9.tar.gz) = 44d39b0fdcca5b675a61be56bcccd85881c1244a
+SHA512 (dfu-util-0.9.tar.gz) = caa7148b7a9004e2b1f7bc4f1a26b48abfe311743bc0eeed1ab57459910371affc39b6fe7e74b7cac6ca9de41a9901b7a970253ca92d7d66d5008f8a11d2c952
+Size (dfu-util-0.9.tar.gz) = 138397 bytes