summaryrefslogtreecommitdiff
path: root/Ports/md4c/package.sh
blob: e97c87e934e97dc65082b2561b2adac2cda60fdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
}