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