python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / dtc / template
blob0120aeace44698651fca1a909f406966a9364aca
1 # Template file for 'dtc'
2 pkgname=dtc
3 version=1.4.6
4 revision=1
5 build_style=gnu-makefile
6 make_build_args="NO_PYTHON=1"
7 make_install_args="$make_build_args"
8 hostmakedepends="git flex bison"
9 short_desc="Device Tree Compiler"
10 maintainer="Andrea Brancaleoni <abc@pompel.me>"
11 license="GPL-2"
12 homepage="http://www.devicetree.org/Device_Tree_Compiler"
13 CFLAGS="-fPIC"
14 distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-$version.tar.xz"
15 checksum=382302bfcc3c40734be80ac620983971d911ec4cde798f551873f3eb008c7b7e
17 dtc-devel_package() {
18         depends="dtc>=${version}_${revision}"
19         short_desc+=" - development files"
20         pkg_install() {
21                 vmove usr/include
22                 vmove "usr/lib/*.a"
23                 vmove "usr/lib/libfdt.so"
24         }