# Template file for 'dtc' pkgname=dtc version=1.7.0 revision=1 build_style=gnu-makefile make_build_args="NO_PYTHON=1" make_install_args="$make_build_args" hostmakedepends="flex bison pkg-config" makedepends="libyaml-devel" short_desc="Device Tree Compiler" maintainer="Andrea Brancaleoni " license="GPL-2.0-only" homepage="https://git.kernel.org/pub/scm/utils/dtc/dtc.git" distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-${version}.tar.xz" checksum=29edce3d302a15563d8663198bbc398c5a0554765c83830d0d4c0409d21a16c4 CFLAGS="-fPIC" 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" } }