1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 12:17:36 +00:00

Ports: Add dtc utility suite

This includes the known dtc utility as well with other bundled utilities
with it.
This commit is contained in:
Liav A 2022-10-05 10:39:47 +03:00 committed by Andrew Kaster
parent e5a353902d
commit 9cbae2b607
2 changed files with 16 additions and 0 deletions

15
Ports/dtc/package.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='dtc'
version='98a07006c48dc0bc3f42b3b3ce75b7f03e87e724'
auth_type='sha256'
files="https://github.com/dgibson/dtc/archive/${version}.tar.gz dtc-${version}.tar.gz 34a06bc0b3d0a3f411d09941946e0d094e7be81e437bdf6a7e30fa9c10de4bf4"
depends=('bash')
build() {
run make NO_PYTHON=1
}
install() {
run make PREFIX="${DESTDIR}" BINDIR="${DESTDIR}/usr/bin" install
}