2019-08-04 22:23:48 +10:00
|
|
|
# Description: C library for encoding, decoding and manipulating JSON data.
|
|
|
|
# URL: http://www.digip.org/jansson/
|
|
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
|
|
# Depends on: jansson
|
|
|
|
|
|
|
|
name=jansson-32
|
2021-09-10 21:25:05 +02:00
|
|
|
version=2.14
|
2019-08-04 22:23:48 +10:00
|
|
|
release=1
|
2019-08-27 22:21:57 +10:00
|
|
|
source=(http://www.digip.org/${name%-*}/releases/${name%-*}-$version.tar.bz2)
|
2021-09-10 21:25:05 +02:00
|
|
|
source=(https://github.com/akheron/jansson/releases/download/v$version/${name%-*}-$version.tar.bz2)
|
2019-08-04 22:23:48 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${name%-*}-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libdir=/usr/lib32
|
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/include
|
|
|
|
}
|