wok-current view glib-networking/receipt @ rev 24679

updated iso-codes (4.4 -> 4.9.0)
author Hans-G?nter Theisgen
date Sat Mar 12 09:36:26 2022 +0100 (2022-03-12)
parents 9dd87341758e
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-networking"
4 VERSION="2.43.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"
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 ./configure \
33 --prefix=/usr \
34 --without-ca-certificates \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/gio/modules
44 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
45 }