wok-next view libjson/receipt @ rev 21597

updated dosbox (0.74-2 -> 0.74.3)
author Hans-G?nter Theisgen
date Wed Jun 24 14:18:09 2020 +0100 (2020-06-24)
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 }