summaryrefslogtreecommitdiff
path: root/repo/yajl
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
committerdavidovski <david@davidovski.xyz>2022-06-03 13:15:00 +0100
commit2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch)
treeedb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/yajl
parent66c326b6d65388e9f1003715ad9675505f01f9d2 (diff)
added ardour
Diffstat (limited to 'repo/yajl')
-rw-r--r--repo/yajl/yajl.xibuild26
1 files changed, 26 insertions, 0 deletions
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/
+}
+
+