Ports: Add stb header files

This commit is contained in:
Liav A 2022-07-08 00:00:37 +03:00 committed by Linus Groh
parent bf85bf2a9e
commit 5fe4feee33
Notes: sideshowbarker 2024-07-17 09:37:12 +09:00
2 changed files with 14 additions and 0 deletions

View File

@ -225,6 +225,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`soltys`](soltys/) | Soltys | 1.0 | https://www.scummvm.org/games/#games-soltys |
| [`sparsehash`](sparsehash/) | Google's C++ associative containers | 2.0.4 | https://github.com/sparsehash/sparsehash |
| [`sqlite`](sqlite/) | SQLite | 3380500 | https://www.sqlite.org/ |
| [`stb`](stb/) | stb single-file public domain libraries for C/C++ | af1a5bc | https://github.com/nothings/stb |
| [`stpuzzles`](stpuzzles/) | Simon Tatham's Portable Puzzle Collection | | https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ |
| [`stress-ng`](stress-ng/) | stress-ng | 0.13.12 | https://github.com/ColinIanKing/stress-ng |
| [`Super-Mario`](Super-Mario/) | Super-Mario Clone | | https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp |

13
Ports/stb/package.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='stb'
version='af1a5bc352164740c1cc1354942b1c6b72eacb8a'
files="https://github.com/nothings/stb/archive/${version}.zip stb-${version}.zip e3d0edbecd356506d3d69b87419de2f9d180a98099134c6343177885f6c2cbef"
auth_type='sha256'
build() {
:
}
install() {
run cp -r "./" "${SERENITY_INSTALL_ROOT}/usr/local/include/"
}