void-packages/srcpkgs/dtc/template
Leah Neukirchen 5c9eaebc71 dtc: update to 1.4.5.
Closes: #7916 [via git-merge-pr]
2017-10-02 15:51:07 +02:00

25 lines
701 B
Bash

# Template file for 'dtc'
pkgname=dtc
version=1.4.5
revision=1
build_style=gnu-makefile
make_build_args="NO_PYTHON=1"
make_install_args="$make_build_args"
hostmakedepends="git flex bison"
short_desc="Device Tree Compiler"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2"
homepage="http://www.devicetree.org/Device_Tree_Compiler"
CFLAGS="-fPIC"
distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-$version.tar.xz"
checksum=042c7164806af34069d13ede59d85b8156d09f179f721c516dc37712d3a0f621
dtc-devel_package() {
depends="dtc>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/libfdt.so"
}
}