wok-current view libjson/receipt @ rev 20347
libassuan update: 2.4.2 (2015 Dec) -> 2.5.1 (2017 Dec)
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 10:38:15 2018 +0000 (2018-06-09) |
parents | 3ed228da4bd2 |
children | 86790a278e70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libjson"
4 VERSION="7.6.1"
5 CATEGORY="misc"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="BSD"
8 SHORT_DESC="A super-effiecient JSON reader and writer."
9 WEB_SITE="http://sourceforge.net/projects/libjson/"
10 TARBALL="${PACKAGE}_$VERSION.zip"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 unset CXXFLAGS
20 mkdir Objects_static Objects_shared _internal/Source/Dependencies
21 mkdir -p $DESTDIR/usr/lib
22 sed -i 's|^in[a-z]*_path *= |&$(DESTDIR)|' makefile
23 make SHARED=1 all &&
24 make DESTDIR=$DESTDIR install
25 make DESTDIR=$DESTDIR SHARED=1 install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }