wok view json-glib/receipt @ rev 25277
updated remind (03.01.16 -> 04.00.01)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:37:03 2022 +0100 (2022-07-18) |
parents | 6831608a1b2a |
children | 87d42064e808 |
line source
1 # SliTaz package receipt.
3 PACKAGE="json-glib"
4 VERSION="0.14.2"
5 CATEGORY="development"
6 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://live.gnome.org/JsonGlib"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="javascript"
14 DEPENDS="libgio glib"
15 BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
37 }