New package: dtc-1.4.1

This commit is contained in:
Andrea Brancaleoni 2015-05-19 17:08:20 +02:00
parent 604e55659e
commit 2a6b02638d
3 changed files with 29 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1 @@
dtc

27
srcpkgs/dtc/template Normal file
View 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"
}
}