wok-next view json-glib/receipt @ rev 21274
gejengel: inserted modification of configure files from cooking
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:42:09 2019 +0100 (2019-12-07) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="json-glib"
4 VERSION="1.4.4"
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"
14 TARBALL_SHA1="d9b6d58c0a5b45aa86fbf0da31c65c19254edf96"
16 BUILD_DEPENDS="meson ninja glib-dev gobject-introspection-dev gettext-dev \
17 libxslt docbook-xsl"
18 SPLIT="$PACKAGE-dev $PACKAGE"
20 COPY_dev="@dev installed-tests/" # move tests to dev package
22 DEPENDS_std="glib"
23 DEPENDS_dev="$PACKAGE glib-dev"
25 TAGS_std="javascript"
27 compile_rules() {
28 mkdir build
29 cd build
31 meson-wrapper \
32 -Dman=true \
33 .. &&
34 ninja &&
35 ninja install || return 1
37 sed -i -r 's|^ +||' $install/usr/share/man/man1/*.1
38 }