2021-04-05 11:49:52 +02:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=libzip
|
|
|
|
useconfigure=true
|
|
|
|
version=1.7.3
|
2021-09-27 00:16:18 +02:00
|
|
|
depends=("zlib")
|
2021-04-05 11:49:52 +02:00
|
|
|
workdir=libzip-${version}
|
2021-09-27 00:16:18 +02:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
2021-04-25 12:20:15 +02:00
|
|
|
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 0e2276c550c5a310d4ebf3a2c3dfc43fb3b4602a072ff625842ad4f3238cb9cc"
|
|
|
|
auth_type=sha256
|
2021-04-05 11:49:52 +02:00
|
|
|
|
|
|
|
configure() {
|
2021-09-27 00:16:18 +02:00
|
|
|
run cmake "${configopts[@]}"
|
2021-04-05 11:49:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run make DESTDIR=$SERENITY_BUILD_DIR/Root install
|
|
|
|
}
|