mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-03 04:50:29 +00:00
Ports: Add a port of md4c
This commit is contained in:
parent
d338d2b59b
commit
a50400072e
Notes:
sideshowbarker
2024-07-17 18:13:59 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/a50400072e Pull-request: https://github.com/SerenityOS/serenity/pull/14381
2 changed files with 20 additions and 0 deletions
|
@ -140,6 +140,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
|||
| [`mawk`](mawk/) | mawk | 1.3.4-20200120 | https://invisible-island.net/mawk/ |
|
||||
| [`mbedtls`](mbedtls/) | Mbed TLS | 3.1.0 | https://tls.mbed.org/ |
|
||||
| [`mc`](mc/) | Midnight Commander | 4.8.28 | https://midnight-commander.org/ |
|
||||
| [`md4c`](md4c/) | Markdown for C | 0.4.8 | https://github.com/mity/md4c |
|
||||
| [`mgba`](mgba/) | Game Boy, Game Boy Color and Game Boy Advance emulator | 0.9.3 | https://mgba.io/ |
|
||||
| [`milkytracker`](milkytracker/) | milkytracker | 1.03.00 | https://github.com/milkytracker/MilkyTracker |
|
||||
| [`mold`](mold/) | A Modern Linker | 1.0.3 | https://github.com/rui314/mold |
|
||||
|
|
19
Ports/md4c/package.sh
Executable file
19
Ports/md4c/package.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='md4c'
|
||||
version='0.4.8'
|
||||
workdir="md4c-release-${version}"
|
||||
files="https://github.com/mity/md4c/archive/release-${version}.tar.gz md4c-${version}.tar.gz 4a457df853425b6bb6e3457aa1d1a13bccec587a04c38c622b1013a0da41439f"
|
||||
auth_type='sha256'
|
||||
useconfigure='true'
|
||||
|
||||
configure() {
|
||||
run cmake -B build -DCMAKE_TOOLCHAIN_FILE="${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
}
|
||||
|
||||
build() {
|
||||
run cmake --build build
|
||||
}
|
||||
|
||||
install() {
|
||||
run cmake --install build
|
||||
}
|
Loading…
Reference in a new issue