wok rev 25763
updated json-glib and json-glib-dev (0.14.2 -> 0.16.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 03 08:36:40 2024 +0100 (8 weeks ago) |
parents | 5eb336f80869 |
children | d3731cd03c7c |
files | json-glib-dev/receipt json-glib/description.txt json-glib/receipt |
line diff
1.1 --- a/json-glib-dev/receipt Sun Sep 01 15:32:54 2024 +0100 1.2 +++ b/json-glib-dev/receipt Tue Sep 03 08:36:40 2024 +0100 1.3 @@ -1,23 +1,19 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="json-glib-dev" 1.7 -VERSION="0.14.2" 1.8 +VERSION="0.16.2" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="json-glib development files" 1.11 +SHORT_DESC="json-glib - development files." 1.12 MAINTAINER="mallory@sweetpeople.org" 1.13 LICENSE="LGPL2.1" 1.14 -WEB_SITE="http://live.gnome.org/JsonGlib" 1.15 -WANTED="json-glib" 1.16 +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" 1.17 1.18 DEPENDS="json-glib glib-dev pkg-config" 1.19 +WANTED="json-glib" 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - mkdir -p $fs/usr/lib $fs/usr/share 1.25 - cp -a $install/usr/include $fs/usr 1.26 - cp -a $install/usr/lib/*.*a $fs/usr/lib 1.27 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.28 - cp -a $install/usr/share/gir-1.0 $fs/usr/share 1.29 + get_dev_files 1.30 + cook_copy_folders gir-1.0 1.31 } 1.32 -
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/json-glib/description.txt Tue Sep 03 08:36:40 2024 +0100 2.3 @@ -0,0 +1,6 @@ 2.4 +JSON-GLib is a library providing serialization and deserialization support 2.5 +for the JavaScript Object Notation (JSON) format described by RFC 4627. 2.6 +JSON-GLib uses GLib native data types and the generic value container GValue 2.7 +for ease of development. 2.8 +It also provides integration with the GObject classes for direct 2.9 +serialization into, and deserialization from, JSON data streams.
3.1 --- a/json-glib/receipt Sun Sep 01 15:32:54 2024 +0100 3.2 +++ b/json-glib/receipt Tue Sep 03 08:36:40 2024 +0100 3.3 @@ -1,18 +1,19 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="json-glib" 3.7 -VERSION="0.14.2" 3.8 +VERSION="0.16.2" 3.9 CATEGORY="development" 3.10 +TAGS="javascript" 3.11 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation" 3.12 MAINTAINER="mallory@sweetpeople.org" 3.13 LICENSE="LGPL2.1" 3.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.15 -WEB_SITE="http://live.gnome.org/JsonGlib" 3.16 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 3.17 -TAGS="javascript" 3.18 +WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" 3.19 3.20 -DEPENDS="libgio glib" 3.21 -BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev" 3.22 +TARBALL="$PACKAGE-$VERSION.tar.xz" 3.23 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" 3.24 + 3.25 +DEPENDS="glib libgio" 3.26 +BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev pkg-config" 3.27 3.28 current_version() 3.29 { 3.30 @@ -23,16 +24,14 @@ 3.31 # Rules to configure and make the package. 3.32 compile_rules() 3.33 { 3.34 - cd $src 3.35 ./configure $CONFIGURE_ARGS && 3.36 - make && make install 3.37 + make && 3.38 + make install 3.39 } 3.40 3.41 # Rules to gen a SliTaz package suitable for Tazpkg. 3.42 genpkg_rules() 3.43 { 3.44 - mkdir -p $fs/usr/lib 3.45 - cp -a $install/usr/lib/*.so* $fs/usr/lib 3.46 - cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib 3.47 + cook_copy_folders girepository-1.0 3.48 + cook_copy_files *.so* 3.49 } 3.50 -