Merge pull request #1614 from thypon/device-tree-compiler
New package: dtc-1.4.1
This commit is contained in:
commit
b1055b6d0c
3 changed files with 29 additions and 0 deletions
|
@ -2031,3 +2031,4 @@ libiec61883.so.0 libiec61883-1.2.0_1
|
|||
libffado.so.2 libffado-2.2.1_1
|
||||
libossp-uuid.so.16 libossp-1.6.2_1
|
||||
libplayerctl-1.0.so.0 playerctl-0.4.2_1
|
||||
libfdt.so.1 dtc-1.4.1_1
|
||||
|
|
1
srcpkgs/dtc-devel
Symbolic link
1
srcpkgs/dtc-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
dtc
|
27
srcpkgs/dtc/template
Normal file
27
srcpkgs/dtc/template
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Template file for 'dtc'
|
||||
pkgname=dtc
|
||||
version=1.4.1
|
||||
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"
|
||||
|
||||
do_fetch() {
|
||||
local url="git://git.kernel.org/pub/scm/utils/${pkgname}/${pkgname}.git"
|
||||
msg_normal "Fetching source from $url ...\n"
|
||||
git clone --branch v${version} ${url} ${pkgname}-${version}
|
||||
}
|
||||
|
||||
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"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue