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