wok-next annotate 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 |
rev | line source |
---|---|
al@20108 | 1 # SliTaz package receipt v2. |
mallory@3710 | 2 |
mallory@3710 | 3 PACKAGE="json-glib" |
al@21087 | 4 VERSION="1.4.4" |
mallory@3710 | 5 CATEGORY="development" |
al@20108 | 6 SHORT_DESC="JSON parser for GLib" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20108 | 9 WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/json-glib.html" |
gokhlayeh@11478 | 11 |
al@20108 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20108 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@21087 | 14 TARBALL_SHA1="d9b6d58c0a5b45aa86fbf0da31c65c19254edf96" |
mallory@3710 | 15 |
al@21087 | 16 BUILD_DEPENDS="meson ninja glib-dev gobject-introspection-dev gettext-dev \ |
al@21087 | 17 libxslt docbook-xsl" |
al@21087 | 18 SPLIT="$PACKAGE-dev $PACKAGE" |
al@21087 | 19 |
al@21087 | 20 COPY_dev="@dev installed-tests/" # move tests to dev package |
al@21087 | 21 |
al@21087 | 22 DEPENDS_std="glib" |
al@21087 | 23 DEPENDS_dev="$PACKAGE glib-dev" |
al@21087 | 24 |
al@21087 | 25 TAGS_std="javascript" |
al@20108 | 26 |
al@20108 | 27 compile_rules() { |
al@20629 | 28 mkdir build |
al@20629 | 29 cd build |
al@20629 | 30 |
al@21087 | 31 meson-wrapper \ |
al@21087 | 32 -Dman=true \ |
al@21087 | 33 .. && |
al@20629 | 34 ninja && |
al@21087 | 35 ninja install || return 1 |
al@21087 | 36 |
al@21087 | 37 sed -i -r 's|^ +||' $install/usr/share/man/man1/*.1 |
mallory@3710 | 38 } |