summaryrefslogtreecommitdiff
path: root/repo/system/jansson.xibuild
blob: 9f8284361b2ca341d3472310962ebb216fdb5d4c (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

MAKEDEPS="make "
DEPS="musl"

PKG_VER=2.14
SOURCE=https://github.com/akheron/jansson/releases/download/v$PKG_VER/jansson-$PKG_VER.tar.gz

DESC="Library for encoding, decoding and manipulating JSON data"

build () {
    ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

package () {
    make DESTDIR=$PKG_DEST install
}