wok-next diff glib-networking/receipt @ rev 20364
Up palemoon (27.6.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Nov 24 05:32:16 2017 +0100 (2017-11-24) |
parents | e70c0b9c5adf |
children | c4e53a39395a |
line diff
1.1 --- a/glib-networking/receipt Fri Jun 16 15:39:43 2017 +0300 1.2 +++ b/glib-networking/receipt Fri Nov 24 05:32:16 2017 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="glib-networking" 1.8 -VERSION="2.48.2" 1.9 +VERSION="2.50.0" 1.10 CATEGORY="x-window" 1.11 SHORT_DESC="TLS support for glib" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 @@ -12,14 +12,9 @@ 1.14 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" 1.16 1.17 -DEPENDS="glib gmp libffi libgnutls libtasn1 nettle p11-kit pcre zlib" 1.18 +BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas" 1.19 BUILD_DEPENDS_arm="glib-dev gnutls-dev" 1.20 -BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas" 1.21 - 1.22 -# Handle cross compilation. 1.23 -case "$ARCH" in 1.24 - arm*) BUILD_DEPENDS=$BUILD_DEPENDS_arm ;; 1.25 -esac 1.26 +SPLIT="glib-networking-dev" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 @@ -34,5 +29,18 @@ 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 - cook_copy_files *.so* 1.35 + case $PACKAGE in 1.36 + glib-networking) 1.37 + copy @std 1.38 + DEPENDS="glib gmp libffi libgnutls libtasn1 nettle p11-kit pcre \ 1.39 + util-linux-blkid util-linux-mount util-linux-uuid zlib" 1.40 + ;; 1.41 + *-dev) 1.42 + copy @dev 1.43 + DEPENDS="glib-networking glib-dev glibc-dev gmp-dev gnutls-dev \ 1.44 + libffi-dev libtasn1-dev nettle-dev p11-kit-dev pcre-dev \ 1.45 + util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ 1.46 + zlib-dev" 1.47 + ;; 1.48 + esac 1.49 }