ladybird/Ports/libzip/package.sh

19 lines
437 B
Bash
Raw Normal View History

2021-04-05 12:49:52 +03:00
#!/usr/bin/env -S bash ../.port_include.sh
port='libzip'
version='1.8.0'
2023-07-10 14:10:29 +03:00
files=(
"https://libzip.org/download/libzip-${version}.tar.gz#30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e"
2023-07-10 14:10:29 +03:00
)
useconfigure='true'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("zlib")
workdir="libzip-${version}"
2021-04-05 12:49:52 +03:00
configure() {
run cmake "${configopts[@]}"
2021-04-05 12:49:52 +03:00
}
install() {
run make install
2021-04-05 12:49:52 +03:00
}