diff options
author | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-31 11:05:19 +0100 |
commit | 48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch) | |
tree | 00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/iniparser/iniparser.xibuild | |
parent | 871b2b573f01c1b3176a0f65458b3d281b41c437 (diff) |
removed idea of repos
Diffstat (limited to 'repo/iniparser/iniparser.xibuild')
-rw-r--r-- | repo/iniparser/iniparser.xibuild | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/iniparser/iniparser.xibuild b/repo/iniparser/iniparser.xibuild new file mode 100644 index 0000000..7655cf5 --- /dev/null +++ b/repo/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 + +} |