mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 0.7
PR: 176565 Submitted by: Ports Fury
This commit is contained in:
parent
15bc754dd8
commit
1ce51726cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314146
4 changed files with 14 additions and 33 deletions
|
@ -1,26 +1,24 @@
|
|||
# New ports collection makefile for: dfu-util
|
||||
# Date created: 2008-02-04
|
||||
# Whom: Bruce Cran <bruce@cran.org.uk>
|
||||
#
|
||||
# Created by: Bruce Cran <bruce@cran.org.uk>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= dfu-util
|
||||
DISTVERSION= 0.1.snap${SNAPDATE}
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.7
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= http://www.cran.org.uk/~brucec/software/
|
||||
MASTER_SITES= http://dfu-util.gnumonks.org/releases/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Device firmware update (DFU) USB programmer
|
||||
|
||||
MAN1= dfu-util.1
|
||||
PLIST_FILES= bin/dfu-util
|
||||
USE_AUTOTOOLS= aclocal automake autoheader
|
||||
AUTOMAKE_ARGS= --add-missing --foreign --copy
|
||||
LICENSE= GPLv2
|
||||
|
||||
SNAPDATE= 20090212
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= USE_LIBS="-lusb" \
|
||||
ac_cv_lib_usbpath_usb_path2devnum=no
|
||||
CONFIGURE_ARGS= --disable-silent-rules
|
||||
MAKE_JOBS_SAFE= yes
|
||||
|
||||
MAN1= dfu-util.1
|
||||
PLIST_FILES= bin/dfu-suffix bin/dfu-util
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -28,8 +26,4 @@ GNU_CONFIGURE= yes
|
|||
IGNORE= requires new USB stack in FreeBSD 8
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/dfu-util ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/dfu-util.1 ${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (dfu-util-0.1.snap20090212.tar.gz) = 3af5421857ee83df09ccd5d1061620a93907820ff9df7e0706e54e88548b2496
|
||||
SIZE (dfu-util-0.1.snap20090212.tar.gz) = 21774
|
||||
SHA256 (dfu-util-0.7.tar.gz) = f52a2a5489fbf9f3204a6ada05e0b47ee322e19d81c712e0c58a332d80ec3eab
|
||||
SIZE (dfu-util-0.7.tar.gz) = 125356
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
--- configure.ac.orig 2008-10-07 17:14:07.000000000 +0400
|
||||
+++ configure.ac 2009-03-08 11:54:32.000000000 +0300
|
||||
@@ -15,9 +15,8 @@
|
||||
|
||||
# Checks for libraries.
|
||||
|
||||
-PKG_CHECK_MODULES(USB, libusb >= 0.1.4,,
|
||||
- AC_MSG_ERROR([*** Required libusb >= 0.1.4 not installed ***]))
|
||||
AC_CHECK_LIB([usbpath],[usb_path2devnum],,,-lusb)
|
||||
+USB_LIBS=-lusb
|
||||
|
||||
LIBS="$LIBS $USB_LIBS"
|
||||
CFLAGS="$CFLAGS $USB_CFLAGS"
|
|
@ -5,4 +5,4 @@ In the OpenMoko project (for example), this program is used to communicate
|
|||
with the specially enhanced u-boot boot loader, which implements the DFU
|
||||
device side.
|
||||
|
||||
WWW: http://wiki.openmoko.org/wiki/Dfu-util
|
||||
WWW: http://dfu-util.gnumonks.org/
|
||||
|
|
Loading…
Add table
Reference in a new issue