wok annotate json-glib/receipt @ rev 25857
Fix reset menu.xml symlink when upgrade slitaz-configs
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 07 17:10:52 2025 +0000 (3 days ago) |
parents | 87d42064e808 |
children |
rev | line source |
---|---|
mallory@3710 | 1 # SliTaz package receipt. |
mallory@3710 | 2 |
mallory@3710 | 3 PACKAGE="json-glib" |
Hans-Günter@25763 | 4 VERSION="0.16.2" |
mallory@3710 | 5 CATEGORY="development" |
Hans-Günter@25763 | 6 TAGS="javascript" |
mallory@3710 | 7 SHORT_DESC="JSON-GLib is a library providing serialization and deserialization support for the JavaScript Object Notation" |
mallory@3710 | 8 MAINTAINER="mallory@sweetpeople.org" |
pascal@14996 | 9 LICENSE="LGPL2.1" |
Hans-Günter@25763 | 10 WEB_SITE="https://wiki.gnome.org/Projects/JsonGlib" |
gokhlayeh@11478 | 11 |
Hans-Günter@25763 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-Günter@25763 | 13 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-Günter@25763 | 14 |
Hans-Günter@25764 | 15 SUGGESTED="json-glib-lang" |
Hans-Günter@25763 | 16 DEPENDS="glib libgio" |
Hans-Günter@25763 | 17 BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev pkg-config" |
mallory@3710 | 18 |
pascal@24111 | 19 current_version() |
pascal@24111 | 20 { |
pascal@24111 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 23 } |
pascal@24111 | 24 |
mallory@3710 | 25 # Rules to configure and make the package. |
mallory@3710 | 26 compile_rules() |
mallory@3710 | 27 { |
gokhlayeh@11478 | 28 ./configure $CONFIGURE_ARGS && |
Hans-Günter@25763 | 29 make && |
Hans-Günter@25763 | 30 make install |
mallory@3710 | 31 } |
mallory@3710 | 32 |
mallory@3710 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3710 | 34 genpkg_rules() |
mallory@3710 | 35 { |
Hans-Günter@25763 | 36 cook_copy_folders girepository-1.0 |
Hans-Günter@25763 | 37 cook_copy_files *.so* |
mallory@3710 | 38 } |