wok-current view glib-networking/receipt @ rev 22632
linux: add CONFIG_SND_PCSP
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 13 11:52:56 2020 +0100 (2020-01-13) |
parents | b206aa4371e3 |
children | 9dd87341758e |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib libgio libgnutls"
15 BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev libgnutls"
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --without-ca-certificates \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/gio/modules
36 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
37 }