wok-next annotate glib-networking/receipt @ rev 20377
h8300-gdb, h8300-gcc: use gcc49
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 26 11:54:13 2017 +0100 (2017-11-26) |
parents | e70c0b9c5adf |
children | c4e53a39395a |
rev | line source |
---|---|
al@19780 | 1 # SliTaz package receipt v2. |
pankso@10800 | 2 |
pankso@10800 | 3 PACKAGE="glib-networking" |
al@19780 | 4 VERSION="2.50.0" |
pankso@10800 | 5 CATEGORY="x-window" |
al@19693 | 6 SHORT_DESC="TLS support for glib" |
pankso@10800 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pankso@10800 | 9 WEB_SITE="http://www.gtk.org/" |
pankso@16258 | 10 HOST_ARCH="i486 arm" |
pankso@10800 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19693 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@19693 | 14 |
al@19780 | 15 BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas" |
al@19779 | 16 BUILD_DEPENDS_arm="glib-dev gnutls-dev" |
al@19780 | 17 SPLIT="glib-networking-dev" |
pankso@10800 | 18 |
pankso@10800 | 19 # Rules to configure and make the package. |
pankso@10800 | 20 compile_rules() |
pankso@10800 | 21 { |
slaxemulator@10802 | 22 ./configure \ |
al@19693 | 23 --with-ca-certificates=/etc/ssl/ca-bundle.crt \ |
al@19693 | 24 --disable-static \ |
pankso@10800 | 25 $CONFIGURE_ARGS && |
pankso@10800 | 26 make && make install |
pankso@10800 | 27 } |
pankso@10800 | 28 |
pankso@10800 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10800 | 30 genpkg_rules() |
pankso@10800 | 31 { |
al@19780 | 32 case $PACKAGE in |
al@19780 | 33 glib-networking) |
al@19780 | 34 copy @std |
al@19780 | 35 DEPENDS="glib gmp libffi libgnutls libtasn1 nettle p11-kit pcre \ |
al@19780 | 36 util-linux-blkid util-linux-mount util-linux-uuid zlib" |
al@19780 | 37 ;; |
al@19780 | 38 *-dev) |
al@19780 | 39 copy @dev |
al@19780 | 40 DEPENDS="glib-networking glib-dev glibc-dev gmp-dev gnutls-dev \ |
al@19780 | 41 libffi-dev libtasn1-dev nettle-dev p11-kit-dev pcre-dev \ |
al@19780 | 42 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \ |
al@19780 | 43 zlib-dev" |
al@19780 | 44 ;; |
al@19780 | 45 esac |
al@19693 | 46 } |