wok-next view libjson/receipt @ rev 21229
updated clamav (0.99.4 -> 0.101.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:54:38 2019 +0100 (2019-12-03) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libjson"
4 VERSION="7.6.1"
5 CATEGORY="misc"
6 SHORT_DESC="A super-effiecient JSON reader and writer"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://sourceforge.net/projects/libjson/"
11 TARBALL="${PACKAGE}_$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SPLIT="$PACKAGE-dev"
16 compile_rules() {
17 unset CXXFLAGS
18 mkdir Objects_static Objects_shared _internal/Source/Dependencies
19 mkdir -p $install/usr/lib
20 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
21 make SHARED=1 all &&
22 make DESTDIR=$install install
23 make DESTDIR=$install SHARED=1 install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libjson) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }