No response from upstream, so host a versioned distfile myself.

Since I'm doing that, I may as well merge our patches in.
This commit is contained in:
ckuethe 2009-04-23 22:37:14 +00:00
parent e9e4033c69
commit 1623162820
3 changed files with 9 additions and 33 deletions

View File

@ -1,13 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2009/04/21 05:57:07 sturm Exp $
BROKEN= distfile needs to updated/versioned
# $OpenBSD: Makefile,v 1.4 2009/04/23 22:37:14 ckuethe Exp $
COMMENT= AVR microcontroller hardware in-system programmer
DISTNAME= teensy_loader_cli
PKGNAME= teensyloader-1.03
DISTNAME= teensyloader-1.03
PKGNAME= ${DISTNAME}p0
CATEGORIES= devel
BROKEN= Need to educate upstream about versioned distfiles
HOMEPAGE= http://www.pjrc.com/teensy/
@ -20,10 +17,9 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
MASTER_SITES= https://www.mainframe.cx/~ckuethe/openbsd/
CONFIGURE_STYLE= None
PATCHFILES= teensy_loader_cli_openbsd.diff
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/teensyloader ${PREFIX}/bin

View File

@ -1,10 +1,5 @@
MD5 (teensy_loader_cli.tar.gz) = KSShvrkhMFal4k3+TJWyiw==
MD5 (teensy_loader_cli_openbsd.diff) = tej/HIyA48mRO2fze4QGfw==
RMD160 (teensy_loader_cli.tar.gz) = nKE0fU7QjwwMeNLPDNSGfwiRCUg=
RMD160 (teensy_loader_cli_openbsd.diff) = zDsLyJCAjECDtfGCTB01mfEWCVo=
SHA1 (teensy_loader_cli.tar.gz) = ZOTvxNgciXuDENvcZDIzy6hWHIw=
SHA1 (teensy_loader_cli_openbsd.diff) = ++PapopiTlBBQGFtCJ3lzyI2sUA=
SHA256 (teensy_loader_cli.tar.gz) = 2TO4ERSpTzMEmxqm64aMPuYXCPIN8PHs4IfeD5oGE2k=
SHA256 (teensy_loader_cli_openbsd.diff) = SOr5Ank3iO673r5t0IDMIAFPYHycpKu7TSnIL630O64=
SIZE (teensy_loader_cli.tar.gz) = 17201
SIZE (teensy_loader_cli_openbsd.diff) = 4606
MD5 (teensyloader-1.03.tar.gz) = f9N5jJH1E2EEcBs1Q1H1Pw==
RMD160 (teensyloader-1.03.tar.gz) = UUb6OIsSIdUd+nah6S3YbJZxea4=
SHA1 (teensyloader-1.03.tar.gz) = y79TNgmbetzJPiZwUp6kpZ1csck=
SHA256 (teensyloader-1.03.tar.gz) = lnncwESeFgnNpWSqr2yjstXyhannOR2B3M3EOJXHzrU=
SIZE (teensyloader-1.03.tar.gz) = 18379

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/03/28 18:55:09 ckuethe Exp $
--- Makefile.orig Wed Feb 11 20:55:42 2009
+++ Makefile Wed Feb 11 21:01:18 2009
@@ -1,6 +1,8 @@
+all: teensyloader
-teensy_loader_cli: teensy_loader_cli.c
- gcc -O2 -Wall -s -o teensy_loader_cli teensy_loader_cli.c -lusb
+teensyloader: teensy_loader_cli.c
+ $(CC) -DUSE_UHID $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
+ -o teensyloader teensy_loader_cli.c
clean:
- rm -f teensy_loader_cli
+ rm -f teensyloader