summaryrefslogtreecommitdiff
path: root/repo/system/iniparser/iniparser.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
committerdavidovski <david@davidovski.xyz>2022-05-28 19:37:22 +0100
commit5170f5c85fe0e84fe8af55c6a024c7b6e844b0f1 (patch)
tree105f4e0fc05bac2fbdc03ab446987eaaa477988c /repo/system/iniparser/iniparser.xibuild
parent4615385d6c8203001962a7a31dd02cdb1a73544b (diff)
fixed packages
Diffstat (limited to 'repo/system/iniparser/iniparser.xibuild')
-rw-r--r--repo/system/iniparser/iniparser.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/system/iniparser/iniparser.xibuild b/repo/system/iniparser/iniparser.xibuild
new file mode 100644
index 0000000..7655cf5
--- /dev/null
+++ b/repo/system/iniparser/iniparser.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="iniparser"
+DESC="C library for parsing INI-style files"
+
+MAKEDEPS="make "
+DEPS="musl "
+
+PKG_VER=4.1
+SOURCE="https://github.com/ndevilla/iniparser/archive/v$PKG_VER.tar.gz"
+ADDITIONAL="rpath.patch "
+
+build () {
+ make
+}
+
+package () {
+ install -d "$PKG_DEST"/usr/lib "$PKG_DEST"/usr/include
+ install -m 644 src/dictionary.h "$PKG_DEST"/usr/include/dictionary.h
+ install -m 644 src/iniparser.h "$PKG_DEST"/usr/include/iniparser.h
+ install -m 755 libiniparser.so.1 "$PKG_DEST"/usr/lib/libiniparser.so.1
+ ln -s libiniparser.so.1 "$PKG_DEST"/usr/lib/libiniparser.so
+
+}