23 lines
637 B
Bash
23 lines
637 B
Bash
# Template file for 'dtc'
|
|
pkgname=dtc
|
|
version=1.4.3
|
|
revision=1
|
|
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"
|
|
distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-$version.tar.xz"
|
|
checksum=0c3fbff85e85b980740c7b9c6f3cd1c5354aa318bfcadb5005776fdcf3ac5ec8
|
|
|
|
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"
|
|
}
|
|
}
|