wok-next view json-glib/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 757d032c55c7 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="json-glib"
4 VERSION="1.4.2"
5 CATEGORY="development"
6 SHORT_DESC="JSON parser for GLib"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/json-glib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="meson ninja glib-dev gobject-introspection-dev gettext"
16 SPLIT="json-glib-dev"
18 compile_rules() {
19 mkdir build
20 cd build
22 meson-wrapper .. &&
23 ninja &&
24 ninja install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 json-glib)
30 copy @std
31 rm -r $fs/usr/lib/installed-tests/ $fs/usr/share/
32 DEPENDS="glib"
33 TAGS="javascript"
34 ;;
35 *-dev)
36 copy @std @rm @dev
37 DEPENDS="json-glib glib-dev"
38 ;;
39 esac
40 }