void-packages/srcpkgs/dtc/template
2017-04-06 18:52:41 +02:00

23 lines
634 B
Bash

# Template file for 'dtc'
pkgname=dtc
version=1.4.4
revision=1
build_style=gnu-makefile
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=470731d5c015b160d26a96645dbb1c7337d6e7b8c98244612002b66bedf6cffb
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"
}
}