1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:07:34 +00:00

Ports: Added the libzip library

This commit is contained in:
Manuel Palenzuela 2021-04-05 11:49:52 +02:00 committed by Andreas Kling
parent abc7b31079
commit a1815b0f87
3 changed files with 69 additions and 0 deletions

16
Ports/libzip/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/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_ROOT/Toolchain/CMakeToolchain.txt"
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz"
configure() {
run cmake $configopts
}
install() {
run make DESTDIR=$SERENITY_BUILD_DIR/Root install
}