forked from ports/compat-32
24 lines
571 B
Plaintext
24 lines
571 B
Plaintext
# 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
|
|
version=2.14
|
|
release=1
|
|
source=(http://www.digip.org/${name%-*}/releases/${name%-*}-$version.tar.bz2)
|
|
source=(https://github.com/akheron/jansson/releases/download/v$version/${name%-*}-$version.tar.bz2)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib32
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/include
|
|
}
|