wok-next view json-glib/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | f48456621a9d |
children | 0f2575775b2d |
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="devel@slitaz.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-dev"
16 SPLIT="$PACKAGE-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 }