wok-next view json-glib/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 89ae9cf3b230 |
children | d5aab818505e |
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/svn/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 }