wok-next view libjson/receipt @ rev 21108

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 07 11:27:51 2019 +0200 (2019-01-07)
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 }