wok-next view libjson/receipt @ rev 20931
pygobject3 -> python-pygobject (latest); pygobject -> python-pygobject2 (legacy)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 23 08:03:04 2018 +0300 (2018-08-23) |
parents | c3a368c0cddb |
children | d5aab818505e |
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="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 }