ports/opt (3.7): dtc:initial release, version 1.7.0
commit 0ebadf0fd4098f8b1c092c73db3289096acc2856 Author: Juergen Daubert <jue@jue.li> Date: Mon Aug 28 13:12:15 2023 +0200 dtc:initial release, version 1.7.0 diff --git a/dtc/.footprint b/dtc/.footprint new file mode 100644 index 000000000..9aa91a3f6 --- /dev/null +++ b/dtc/.footprint @@ -0,0 +1,20 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/convert-dtsv0 +-rwxr-xr-x root/root usr/bin/dtc +-rwxr-xr-x root/root usr/bin/dtdiff +-rwxr-xr-x root/root usr/bin/fdtdump +-rwxr-xr-x root/root usr/bin/fdtget +-rwxr-xr-x root/root usr/bin/fdtoverlay +-rwxr-xr-x root/root usr/bin/fdtput +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/fdt.h +-rw-r--r-- root/root usr/include/libfdt.h +-rw-r--r-- root/root usr/include/libfdt_env.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libfdt.a +lrwxrwxrwx root/root usr/lib/libfdt.so -> libfdt.so.1 +lrwxrwxrwx root/root usr/lib/libfdt.so.1 -> libfdt.so.1.7.0 +-rwxr-xr-x root/root usr/lib/libfdt.so.1.7.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libfdt.pc diff --git a/dtc/.signature b/dtc/.signature new file mode 100644 index 000000000..6689adcf5 --- /dev/null +++ b/dtc/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Uz1ZPelufLUm160jtOkiVA2KIfb1Yq6ZCm9G1cmF4p8wxgG39bYsq15jZ8lAq8QANAEItPBKhaNBSLg5qqAzQE= +SHA256 (Pkgfile) = e12186d72e675899a01aa658b4c94db8aa426221f3851850619fa7f5f7ba42d9 +SHA256 (.footprint) = d11e3a31345e5fb0aad1b36197a5b9aec939421d67c4957b506198126a56f15a +SHA256 (dtc-1.7.0.tar.xz) = 29edce3d302a15563d8663198bbc398c5a0554765c83830d0d4c0409d21a16c4 diff --git a/dtc/Pkgfile b/dtc/Pkgfile new file mode 100644 index 000000000..b4b75948b --- /dev/null +++ b/dtc/Pkgfile @@ -0,0 +1,23 @@ +# Description: Device Tree Compiler and libfdt +# URL: https://github.com/dgibson/dtc +# Maintainer: Juergen Daubert, jue at crux dot nu + +name=dtc +version=1.7.0 +release=1 +source=(https://www.kernel.org/pub/software/utils/$name/$name-$version.tar.xz) + +build() { + sed '/version:/s/6/7/' -i $name-$version/{,libfdt}/meson.build + CFLAGS+=" -ffat-lto-objects" + + meson setup build $name-$version \ + --prefix=/usr \ + --buildtype=plain \ + --wrap-mode nodownload \ + -D b_lto=true \ + -D b_pie=true + + meson compile -C build -j ${JOBS:-1} + DESTDIR=$PKG meson install -C build +}
participants (1)
-
crux@crux.nu