Ports: Add ObjFW :^)

This commit is contained in:
Sergey Bugaev 2023-07-23 16:28:05 +03:00 committed by Andrew Kaster
parent 6a4cdc3ef2
commit a608458ee6
2 changed files with 17 additions and 0 deletions

View file

@ -208,6 +208,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`npth`](npth/) | New GNU Portable Threads Library | 1.6 | https://gnupg.org/software/npth/index.html |
| [`ntbtls`](ntbtls/) | The Not Too Bad TLS Library | 0.2.0 | https://gnupg.org/software/ntbtls/index.html |
| [`nyancat`](nyancat/) | Nyancat | | https://github.com/klange/nyancat |
| [`ObjFW`](ObjFW/) | ObjFW | master | https://objfw.nil.im/ |
| [`oksh`](oksh/) | oksh | 7.1 | https://github.com/ibara/oksh |
| [`OpenJDK`](OpenJDK/) | OpenJDK | 17.0.6 | https://openjdk.java.net/ |
| [`openrct2`](openrct2/) | OpenRCT2 | 0.4.4 | https://openrct2.org/ |

16
Ports/ObjFW/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port="ObjFW"
version="master"
commit="2903ecda7767a9563b6d3c74581b3920d32e6576"
useconfigure="true"
files="https://github.com/ObjFW/ObjFW/archive/${commit}.tar.gz ObjFW-${commit}.tar.gz ef5e3158e898415a9458f2c9a620b47f111b9a2af0bc8c48bcde4e13ae2b7727"
workdir="ObjFW-${commit}"
use_fresh_config_sub='true'
config_sub_paths=("build-aux/config.sub")
depends=("openssl")
# Only required for non-releases.
pre_configure() {
run ./autogen.sh
}