mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 21:54:40 +03:00
c07f91474d
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
18 lines
496 B
Bash
Executable File
18 lines
496 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libzip
|
|
useconfigure=true
|
|
version=1.7.3
|
|
depends=("zlib")
|
|
workdir=libzip-${version}
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
|
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 0e2276c550c5a310d4ebf3a2c3dfc43fb3b4602a072ff625842ad4f3238cb9cc"
|
|
auth_type=sha256
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run make DESTDIR=$SERENITY_BUILD_DIR/Root install
|
|
}
|