From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/zziplib/zziplib.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/zziplib/zziplib.xibuild (limited to 'repo/zziplib') diff --git a/repo/zziplib/zziplib.xibuild b/repo/zziplib/zziplib.xibuild new file mode 100644 index 0000000..a688730 --- /dev/null +++ b/repo/zziplib/zziplib.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +NAME="zziplib" +DESC="Lightweight library to easily extract data from zip files" + +MAKEDEPS=" cmake zlib python bash ninja" + +PKG_VER=0.13.72 +SOURCE="https://github.com/gdraheim/zziplib/archive/v$PKG_VER.tar.gz" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DBUILD_STATIC_LIBS=False \ + -DBUILD_TESTS=OFF \ + -DMSVC_STATIC_RUNTIME=OFF \ + -DZZIPSDL=OFF \ + -DZZIPTEST=OFF \ + -DZZIPWRAP=OFF \ + . + ninja -C build +} + +package() { + DESTDIR="$PKG_DEST" ninja -C build install +} -- cgit v1.2.1