wok-next view libjson/receipt @ rev 20666

Up freeglut (3.0.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 03:09:34 2018 +0300 (2018-05-11)
parents 8d96e9390bb1
children a3c581bf52b8
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="http://sourceforge.net/projects/libjson/"
11 TARBALL="${PACKAGE}_$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SPLIT="libjson-dev"
16 compile_rules() {
17 unset CXXFLAGS
18 mkdir Objects_static Objects_shared _internal/Source/Dependencies
19 mkdir -p $DESTDIR/usr/lib
20 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
21 make SHARED=1 all &&
22 make DESTDIR=$DESTDIR install
23 make DESTDIR=$DESTDIR SHARED=1 install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libjson) copy @std;;
29 *-dev) copy @dev;;
30 esac
31 }