2015-05-19 17:08:20 +02:00
|
|
|
# Template file for 'dtc'
|
|
|
|
pkgname=dtc
|
2016-09-04 18:12:39 +02:00
|
|
|
version=1.4.2
|
|
|
|
revision=1
|
2015-05-19 17:08:20 +02:00
|
|
|
build_style=gnu-makefile
|
|
|
|
hostmakedepends="git flex bison"
|
|
|
|
short_desc="Device Tree Compiler"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.devicetree.org/Device_Tree_Compiler"
|
|
|
|
CFLAGS="-fPIC"
|
2015-07-27 00:03:20 +02:00
|
|
|
distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-$version.tar.xz"
|
2016-09-04 18:12:39 +02:00
|
|
|
checksum=13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac
|
2015-05-19 17:08:20 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|