wok view json-glib/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents 87d42064e808
children
line source
1 # SliTaz package receipt.
3 PACKAGE="json-glib"
4 VERSION="0.16.2"
5 CATEGORY="development"
6 TAGS="javascript"
7 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation"
8 MAINTAINER="mallory@sweetpeople.org"
9 LICENSE="LGPL2.1"
10 WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 SUGGESTED="json-glib-lang"
16 DEPENDS="glib libgio"
17 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev pkg-config"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders girepository-1.0
37 cook_copy_files *.so*
38 }