diff --git a/srcpkgs/dtc/template b/srcpkgs/dtc/template index 118c4121242..a7283cba19b 100644 --- a/srcpkgs/dtc/template +++ b/srcpkgs/dtc/template @@ -1,19 +1,20 @@ # Template file for 'dtc' pkgname=dtc version=1.4.7 -revision=1 +revision=2 build_style=gnu-makefile make_build_args="NO_PYTHON=1" make_install_args="$make_build_args" hostmakedepends="git flex bison" short_desc="Device Tree Compiler" maintainer="Andrea Brancaleoni " -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" +license="GPL-2.0-only" +homepage="https://git.kernel.org/pub/scm/utils/dtc/dtc.git" +distfiles="https://www.kernel.org/pub/software/utils/dtc/dtc-${version}.tar.xz" checksum=6643e8f00ff86350f465bb54b2185058b5b1b7bac01a0842c81a52b86589cde7 +CFLAGS="-fPIC" + dtc-devel_package() { depends="dtc>=${version}_${revision}" short_desc+=" - development files"