1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 13:57:36 +00:00

Ports: Add a port of md4c

This commit is contained in:
Tim Schumacher 2022-06-24 23:52:17 +02:00 committed by Linus Groh
parent d338d2b59b
commit a50400072e
2 changed files with 20 additions and 0 deletions

19
Ports/md4c/package.sh Executable file
View 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
}