aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKARBOWSKI Piotr <piotr.karbowski@gmail.com>2017-12-26 21:05:28 +0100
committerKARBOWSKI Piotr <piotr.karbowski@gmail.com>2017-12-26 21:05:28 +0100
commit2076d0a31158878e10d94fbd10f2aecf9c4d9c44 (patch)
tree0661a3c2a795b4686402b102e099ba112410c388
parentbootstrap/bootstrap-all.conf: build json-c prior to cryptsetup (diff)
downloadbetter-initramfs-2076d0a31158878e10d94fbd10f2aecf9c4d9c44.tar.xz
better-initramfs-2076d0a31158878e10d94fbd10f2aecf9c4d9c44.zip
bootstrap/lebuilds/json-c.lebuild: added
-rwxr-xr-xbootstrap/lebuilds/json-c.lebuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/bootstrap/lebuilds/json-c.lebuild b/bootstrap/lebuilds/json-c.lebuild
new file mode 100755
index 0000000..901e822
--- /dev/null
+++ b/bootstrap/lebuilds/json-c.lebuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+name='json-c'
+version='0.13-20171207'
+sources=( "https://bitbucket.org/piotrkarbowski/better-initramfs/downloads/${name}-${version}.tar.gz" )
+homepage='https://github.com/json-c/json-c/wiki'
+license='MIT'
+
+build_cmd="
+ cd /source/${name}-${version} && \
+ ./configure --prefix=/binit/prefix && \
+ make -j ${cores_num:-1} && \
+ make install
+"
+
+fetch_source
+install_source
+build_source