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:
parent
abc7b31079
commit
a1815b0f87
3 changed files with 69 additions and 0 deletions
16
Ports/libzip/package.sh
Executable file
16
Ports/libzip/package.sh
Executable 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue