wok annotate glib-networking/receipt @ rev 24503
updated dulwich (0.19.14 -> 0.19.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 10:36:29 2022 +0100 (2022-02-20) |
parents | 9dd87341758e |
children |
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" |
Hans-G?nter@22910 | 9 WEB_SITE="https://www.gtk.org/" |
Hans-G?nter@22910 | 10 |
pascal@12746 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@10802 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@22910 | 13 |
Hans-G?nter@22910 | 14 DEPENDS="glib libgio libgnutls libunistring" |
Hans-G?nter@22910 | 15 BUILD_DEPENDS="glib-dev gnutls-dev libgio-dev libgnutls libunistring-dev" |
Hans-G?nter@22910 | 16 |
pankso@16258 | 17 HOST_ARCH="i486 arm" |
pankso@10800 | 18 |
pascal@24051 | 19 current_version() |
pascal@24051 | 20 { |
pascal@24051 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||' |
pascal@24051 | 22 } |
pascal@24051 | 23 |
pankso@16258 | 24 # Handle cross compilation. |
pankso@16258 | 25 case "$ARCH" in |
pankso@16258 | 26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;; |
pankso@16258 | 27 esac |
pankso@10800 | 28 |
pankso@10800 | 29 # Rules to configure and make the package. |
pankso@10800 | 30 compile_rules() |
pankso@10800 | 31 { |
Hans-G?nter@22910 | 32 ./configure \ |
Hans-G?nter@22910 | 33 --prefix=/usr \ |
Hans-G?nter@22910 | 34 --without-ca-certificates \ |
pankso@10800 | 35 $CONFIGURE_ARGS && |
Hans-G?nter@22910 | 36 make && |
Hans-G?nter@22910 | 37 make install |
pankso@10800 | 38 } |
pankso@10800 | 39 |
pankso@10800 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10800 | 41 genpkg_rules() |
pankso@10800 | 42 { |
pankso@10800 | 43 mkdir -p $fs/usr/lib/gio/modules |
pankso@10800 | 44 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules |
Hans-G?nter@22910 | 45 } |