From 2e4eddedb755f0c0f88450b1fc1d8b0830132a71 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:15:00 +0100 Subject: added ardour --- repo/yajl/yajl.xibuild | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 repo/yajl/yajl.xibuild (limited to 'repo/yajl') diff --git a/repo/yajl/yajl.xibuild b/repo/yajl/yajl.xibuild new file mode 100644 index 0000000..1cb9b91 --- /dev/null +++ b/repo/yajl/yajl.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="yajl" +DESC="Yet Another JSON Library (YAJL)" + +MAKEDEPS=" cmake" + +PKG_VER=2.1.0 +SOURCE="https://dev.alpinelinux.org/archive/yajl/yajl-$PKG_VER.tar.gz" + +build() { + cmake -B build . \ + -DCMAKE_BUILD_TYPE=MinSizeRel \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_PREFIX=/usr + make -C build +} + +package() { + make install -C build DESTDIR="$PKG_DEST" + + mkdir -p "$PKG_DEST"/usr/lib + mv "$PKG_DEST"/usr/share/pkgconfig "$PKG_DEST"/usr/lib/ +} + + -- cgit v1.2.1