# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {adfernandes @adfernandes} openmaintainer
description Device tree compiler
long_description Device Tree Compiler, dtc, takes as input a device-tree in a given format and outputs a \
device-tree in another format for booting kernels on embedded systems. Typically, the \
input format is DTS, a human readable source format, and creates a DTB, or binary \
homepage https://git.kernel.org/pub/scm/utils/dtc/dtc.git
master_sites "${homepage}/snapshot/"
checksums rmd160 e9f19dfb6da61fc18b77ddfdae39e5ec8ce22ead \
sha256 45f9885f890c5feab8110a721410970deb8f83987d0125f1a2703bc8ec140e33 \
build.cmd gmake NO_PYTHON=1 "PREFIX=${destroot}${prefix}" install
file delete -force "${destroot}${prefix}/var"
file mkdir "${destroot}${prefix}/share/doc/${name}"
xinstall -m 0644 {*}[glob "${worksrcpath}/Documentation/*.*"] "${destroot}${prefix}/share/doc/${name}"
livecheck.url "${homepage}"
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"