summaryrefslogtreecommitdiff
path: root/repo/system/libconfig.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-04-14 22:28:41 +0100
committerdavidovski <david@davidovski.xyz>2022-04-14 22:28:41 +0100
commit7cc715c1249422ddf91987be64a35eef43e3e62d (patch)
treefd706e77c0eaec256acf3dc24e781b5fc9f59d09 /repo/system/libconfig.xibuild
parent734e13526a2ec3ced7f085e444fc9525dfad348b (diff)
added auto create file
Diffstat (limited to 'repo/system/libconfig.xibuild')
-rw-r--r--repo/system/libconfig.xibuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/repo/system/libconfig.xibuild b/repo/system/libconfig.xibuild
new file mode 100644
index 0000000..b81a2bd
--- /dev/null
+++ b/repo/system/libconfig.xibuild
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+NAME="libconfig"
+DESC="A simple library for manipulating structured configuration files"
+
+MAKEDEPS="make automake autoconf libtool"
+DEPS="musl"
+
+PKG_VER=1.7.3
+SOURCE="https://github.com/hyperrealm/libconfig/archive/v$PKG_VER.tar.gz"
+
+prepare () {
+ autoreconf -fi
+}
+
+build () {
+ ./configure \
+ --prefix=/usr
+ --bindir=/usr/bin \
+ --sysconfdir=/etc \
+ --disable-static
+ make
+}
+
+package () {
+ make -j1 DESTDIR=$PKG_DEST install
+}