head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2026.03.31.13.57.50;	author khorben;	state Exp;
branches;
next	;
commitid	iphjykOC6Dwgi8AG;


desc
@@


1.1
log
@misc: import raspberrypi-usbboot version 1.0

This contains the Raspberry Pi USB device boot software known as rpiboot. The
rpiboot tool provides a file server for loading software into memory on a
Raspberry Pi for provisioning. By default, it boots the device with firmware
that makes it appear to the host as a USB mass-storage device. The host
operating system then treats it as a standard USB drive, allowing the filesystem
to be accessed. An operating system image can be written to the device using the
Raspberry Pi Imager.

On Compute Module 4 and newer devices, rpiboot is also used to update the
bootloader SPI flash EEPROM.

Tested on macOS/amd64 and NetBSD/amd64.
@
text
@# $NetBSD$

DISTNAME=	usbboot-1.0
PKGNAME=	raspberrypi-${DISTNAME}
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_GITHUB:=raspberrypi/}
GITHUB_PROJECT=	usbboot
GITHUB_TAG=	windows-v1.0

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/raspberrypi/usbboot
COMMENT=	Raspberry Pi USB device boot
LICENSE=	apache-2.0

USE_LANGUAGES=	c
USE_TOOLS+=	gmake pkg-config

BUILD_DEPENDS+=	vim-share-[0-9]*:../../editors/vim-share
BUILD_TARGET=	rpiboot

MAKE_FLAGS+=	DESTDIR=${DESTDIR}
MAKE_FLAGS+=	INSTALL_PREFIX=${PREFIX}
MAKE_FLAGS+=	GIT_VER=${GITHUB_TAG}
MAKE_FLAGS+=	PKG_VER=${PKGVERSION}
AUTO_MKDIRS=	yes

.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@
