summaryrefslogtreecommitdiff
path: root/repo/iniparser/iniparser.xibuild
blob: 7655cf57030b91997ceba5898e126dd942618372 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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

}