pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

add dtc - the device tree compiler



Module Name:	pkgsrc-wip
Committed By:	Joe Davis <joe.davis512%gmail.com@localhost>
Pushed By:	joed
Date:		Mon Jun 13 20:10:01 2016 +0100
Changeset:	959a2721cae8a1d3f22cd8e0e6ee50641ff7beae

Added Files:
	dtc/DESCR
	dtc/Makefile
	dtc/PLIST
	dtc/distinfo
	dtc/patches/patch-Makefile

Log Message:
add dtc - the device tree compiler

Device Tree Compiler (dtc) toolchain for working with device tree source and
binary files, and libfdt, a utility library for reading and manipulating the
binary format.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=959a2721cae8a1d3f22cd8e0e6ee50641ff7beae

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dtc/DESCR                  |  8 ++++++++
 dtc/Makefile               | 16 ++++++++++++++++
 dtc/PLIST                  | 14 ++++++++++++++
 dtc/distinfo               |  7 +++++++
 dtc/patches/patch-Makefile | 15 +++++++++++++++
 5 files changed, 60 insertions(+)

diffs:
diff --git a/dtc/DESCR b/dtc/DESCR
new file mode 100644
index 0000000..9797589
--- /dev/null
+++ b/dtc/DESCR
@@ -0,0 +1,8 @@
+Device Tree Compiler (dtc) toolchain for working with device tree source and 
+binary files and libfdt, a utility library for reading and manipulating the
+binary format.
+
+Both DTC and LIBFDT are made available under the terms of the GNU GPLv2.
+LIBFDT also available under the terms of the BSD license. For more information
+see README.license in the source tree.
+
diff --git a/dtc/Makefile b/dtc/Makefile
new file mode 100644
index 0000000..81a3b7c
--- /dev/null
+++ b/dtc/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME=	dtc-1.4.1
+CATEGORIES=	wip
+MASTER_SITES=	ftp://ftp.kernel.org/pub/software/utils/dtc/
+
+MAINTAINER=	joe.davis512%gmail.com@localhost
+HOMEPAGE=	http://devicetree.org/
+COMMENT=	Device Tree Compiler (dtc)
+LICENSE=	gnu-gpl-v2
+
+USE_TOOLS=	gmake bison
+
+.include "../../mk/bsd.prefs.mk"
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/dtc/PLIST b/dtc/PLIST
new file mode 100644
index 0000000..551bd9c
--- /dev/null
+++ b/dtc/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+bin/convert-dtsv0
+bin/dtc
+bin/dtdiff
+bin/fdtdump
+bin/fdtget
+bin/fdtput
+include/fdt.h
+include/libfdt.h
+include/libfdt_env.h
+lib/libfdt-${PKGVERSION}.so
+lib/libfdt.a
+lib/libfdt.so
+lib/libfdt.so.1
diff --git a/dtc/distinfo b/dtc/distinfo
new file mode 100644
index 0000000..3eb352a
--- /dev/null
+++ b/dtc/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (dtc-1.4.1.tar.gz) = 2f73f79d732dfc2690e146248d4ff8070414b50a
+RMD160 (dtc-1.4.1.tar.gz) = dbfc1ea87c6966e65bdccc2518c086d0c41e9bb0
+SHA512 (dtc-1.4.1.tar.gz) = 31085991824eeee1790ed151b9470c14b1840f1cda1760d6081938521f907aa2ccf777cdecec0d648b09d1614868bc43f98ae77fb7641677aa841b68a7cb90e8
+Size (dtc-1.4.1.tar.gz) = 135809 bytes
+SHA1 (patch-Makefile) = 99e8b26982638695fccfd9e3940ac5c971d8a35b
diff --git a/dtc/patches/patch-Makefile b/dtc/patches/patch-Makefile
new file mode 100644
index 0000000..bb83582
--- /dev/null
+++ b/dtc/patches/patch-Makefile
@@ -0,0 +1,15 @@
+$NetBSD$
+
+--- Makefile.orig	2014-11-12 03:29:16.000000000 +0000
++++ Makefile
+@@ -24,8 +24,8 @@ BISON = bison
+ LEX = flex
+ 
+ INSTALL = /usr/bin/install
+-DESTDIR =
+-PREFIX = $(HOME)
++#DESTDIR =
++#PREFIX = $(HOME)
+ BINDIR = $(PREFIX)/bin
+ LIBDIR = $(PREFIX)/lib
+ INCLUDEDIR = $(PREFIX)/include


Home | Main Index | Thread Index | Old Index