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