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
Notes: sideshowbarker 2024-07-17 06:09:10 +09:00
2 changed files with 16 additions and 0 deletions

View file

@ -45,6 +45,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`drascula`](drascula/) | Dráscula: The Vampire Strikes Back | 1.0 | https://www.scummvm.org/games/#games-drascula |
| [`dreamweb`](dreamweb/) | DreamWeb | 1.1 | https://www.scummvm.org/games/#games-dreamweb |
| [`dropbear`](dropbear/) | Dropbear SSH | 2022.82 | https://dropbear.nl/mirror/dropbear.html |
| [`dtc`](dtc/) | Device Tree Compiler | 98a0700 | https://github.com/dgibson/dtc |
| [`dungeonrush`](dungeonrush/) | DungeonRush | 1.1-beta | https://github.com/Rapiz1/DungeonRush |
| [`e2fsprogs`](e2fsprogs/) | e2fsprogs | 1.46.5 | http://e2fsprogs.sourceforge.net/ |
| [`ed`](ed/) | GNU ed | 1.18 | https://www.gnu.org/software/ed/ |

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
}