wok view glib-networking/receipt @ rev 23938

qemu: add X86_64 efi bios (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 12 12:48:26 2020 +0000 (2020-09-12)
parents a78610b2eb47
children 324b3fa82b76
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 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --without-ca-certificates \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/gio/modules
39 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
40 }