wok-next view json-glib/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 58d6577fec38 |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="json-glib"
4 VERSION="1.2.8"
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="glib-dev gtk-doc libxslt-dev gobject-introspection-dev gettext"
16 SPLIT="json-glib-dev"
18 compile_rules() {
19 fix ld
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make && make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 json-glib)
28 copy @std
29 DEPENDS="glib"
30 TAGS="javascript"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="json-glib glib-dev libffi-dev pcre-dev \
35 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
36 zlib-dev"
37 ;;
38 esac
39 }