A collection of command line tools for ARM devices with Allwinner SoCs.

feedback and ok sthen@
This commit is contained in:
mglocker 2017-06-12 09:05:56 +00:00
parent f665ebc3c9
commit 418ce6f5a3
4 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/06/12 09:05:56 mglocker Exp $
COMMENT = collection of CLI tools for ARM devices with Allwinner SoCs
GH_ACCOUNT = linux-sunxi
GH_PROJECT = sunxi-tools
GH_TAGNAME = v1.4
CATEGORIES = sysutils
HOMEPAGE = http://linux-sunxi.org/Sunxi-tools
MAINTAINER = Marcus Glocker <marcus@nazgul.ch>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
USE_GMAKE = Yes
WANTLIB = c pthread usb-1.0
LIB_DEPENDS = devel/libusb1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fel-gpio ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sunxi-bootinfo ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sunxi-fel ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sunxi-fexc ${PREFIX}/bin
ln -s sunxi-fexc ${PREFIX}/bin/bin2fex
ln -s sunxi-fexc ${PREFIX}/bin/fex2bin
${INSTALL_PROGRAM} ${WRKSRC}/sunxi-nand-part ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sunxi-pio ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sunxi-tools
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/examples/sunxi-tools
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (sunxi-tools-1.4.tar.gz) = +A5s1fLWHVfU8OaLNF4qQqrCBjUL4GgNIzxJTjoTp8M=
SIZE (sunxi-tools-1.4.tar.gz) = 77945

View File

@ -0,0 +1 @@
A collection of command line tools for ARM devices with Allwinner SoCs.

View File

@ -0,0 +1,11 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/06/12 09:05:56 mglocker Exp $
bin/bin2fex
bin/fel-gpio
bin/fex2bin
@bin bin/sunxi-bootinfo
@bin bin/sunxi-fel
@bin bin/sunxi-fexc
@bin bin/sunxi-nand-part
@bin bin/sunxi-pio
share/examples/sunxi-tools/
share/examples/sunxi-tools/README.md