diff options
author | Liav A <liavalb@gmail.com> | 2022-07-08 00:00:37 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-07-08 12:01:52 +0200 |
commit | 5fe4feee3383a309897e67810330f5ace8aa2b49 (patch) | |
tree | 3fc06815a605ae1f04a82b7afd5d5b0a911f940e /Ports | |
parent | bf85bf2a9ec076a9bfa0ff0cfb2a97b2059818fc (diff) | |
download | serenity-5fe4feee3383a309897e67810330f5ace8aa2b49.zip |
Ports: Add stb header files
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/stb/package.sh | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index cd2108efbb..43b92a4bff 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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 | diff --git a/Ports/stb/package.sh b/Ports/stb/package.sh new file mode 100755 index 0000000000..49aaae4796 --- /dev/null +++ b/Ports/stb/package.sh @@ -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/" +} |