summaryrefslogtreecommitdiff
path: root/Ports/mbedtls/package.sh
blob: b6f50b49c948f8cff68d1feaa9a79c7d691c848b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env -S bash ../.port_include.sh
port='mbedtls'
version='3.1.0'
files="https://github.com/Mbed-TLS/mbedtls/archive/refs/tags/v${version}.tar.gz mbedtls-${version}.tgz b02df6f68dd1537e115a8497d5c173dc71edc55ad084756e57a30f951b725acd"
makeopts=(
    "SHARED=1"
)
auth_type='sha256'

install() {
    run make DESTDIR="${SERENITY_INSTALL_ROOT}/usr/local" "${installopts[@]}" install
}