wok-6.x annotate glib-networking/receipt @ rev 21159

Up vcdimager (2.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 31 13:48:00 2019 +0200 (2019-03-31)
parents b206aa4371e3
children 9dd87341758e
rev   line source
pankso@10800 1 # SliTaz package receipt.
pankso@10800 2
pankso@10800 3 PACKAGE="glib-networking"
devl547@17595 4 VERSION="2.43.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"
pascal@12746 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20669 10 WEB_SITE="https://www.gtk.org/"
slaxemulator@10802 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16258 12 HOST_ARCH="i486 arm"
pankso@10800 13
pankso@10800 14 DEPENDS="glib libgio libgnutls"
pascal@20573 15 BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev libgnutls"
pankso@16258 16
pankso@16258 17 # Handle cross compilation.
pankso@16258 18 case "$ARCH" in
pankso@16258 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
pankso@16258 20 esac
pankso@10800 21
pankso@10800 22 # Rules to configure and make the package.
pankso@10800 23 compile_rules()
pankso@10800 24 {
slaxemulator@10802 25 ./configure \
pankso@10800 26 --prefix=/usr \
pankso@10800 27 --without-ca-certificates \
pankso@10800 28 $CONFIGURE_ARGS &&
pankso@10800 29 make && make install
pankso@10800 30 }
pankso@10800 31
pankso@10800 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10800 33 genpkg_rules()
pankso@10800 34 {
pankso@10800 35 mkdir -p $fs/usr/lib/gio/modules
pankso@10800 36 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
psychomaniak@18373 37 }