wok-current annotate glib-networking/receipt @ rev 25724

Up audacity to 3.0.2, fix openssh/wxWidgets build
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 25 14:51:14 2024 +0000 (14 months ago)
parents 324b3fa82b76
children 5926178cd6fa
rev   line source
pankso@10800 1 # SliTaz package receipt.
pankso@10800 2
pankso@10800 3 PACKAGE="glib-networking"
shann@25634 4 VERSION="2.70.1"
pankso@10800 5 CATEGORY="x-window"
pankso@10800 6 SHORT_DESC="TLS support for glib."
pankso@10800 7 MAINTAINER="pankso@slitaz.org"
pascal@15004 8 LICENSE="LGPL2"
Hans-Günter@22910 9 WEB_SITE="https://www.gtk.org/"
Hans-Günter@22910 10
pascal@12746 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
slaxemulator@10802 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
Hans-Günter@22910 13
Hans-Günter@22910 14 DEPENDS="glib libgio libgnutls libunistring"
shann@25634 15 BUILD_DEPENDS="glib-dev gnutls-dev libgio-dev libgnutls libunistring-dev meson"
Hans-Günter@22910 16
pankso@16258 17 HOST_ARCH="i486 arm"
pankso@10800 18
pascal@24051 19 current_version()
pascal@24051 20 {
pascal@24051 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
pascal@24051 22 }
pascal@24051 23
pankso@16258 24 # Handle cross compilation.
pankso@16258 25 case "$ARCH" in
pankso@16258 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
pankso@16258 27 esac
pankso@10800 28
pankso@10800 29 # Rules to configure and make the package.
pankso@10800 30 compile_rules()
pankso@10800 31 {
shann@25634 32 meson build \
shann@25634 33 --prefix=/usr \
shann@25634 34 --libdir=lib \
shann@25634 35 --bindir=/usr/bin \
shann@25634 36 --sbindir=/usr/sbin \
shann@25634 37 --buildtype=release &&
shann@25634 38 ninja -C build &&
shann@25634 39 ninja -C build install
pankso@10800 40 }
pankso@10800 41
pankso@10800 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10800 43 genpkg_rules()
pankso@10800 44 {
pankso@10800 45 mkdir -p $fs/usr/lib/gio/modules
pankso@10800 46 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
Hans-Günter@22910 47 }