2021-04-05 09:49:52 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2022-06-03 15:46:51 +00:00
|
|
|
port='libzip'
|
|
|
|
version='1.8.0'
|
|
|
|
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 30ee55868c0a698d3c600492f2bea4eb62c53849bcf696d21af5eb65f3f3839e"
|
|
|
|
auth_type='sha256'
|
|
|
|
useconfigure='true'
|
2021-09-26 22:16:18 +00:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
2022-06-03 15:46:51 +00:00
|
|
|
depends=("zlib")
|
|
|
|
workdir="libzip-${version}"
|
2021-04-05 09:49:52 +00:00
|
|
|
|
|
|
|
configure() {
|
2021-09-26 22:16:18 +00:00
|
|
|
run cmake "${configopts[@]}"
|
2021-04-05 09:49:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2022-04-20 15:47:34 +00:00
|
|
|
run make install
|
2021-04-05 09:49:52 +00:00
|
|
|
}
|