wok-next view glib-networking/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | e70c0b9c5adf |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glib-networking"
4 VERSION="2.50.0"
5 CATEGORY="x-window"
6 SHORT_DESC="TLS support for glib"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.gtk.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas"
16 BUILD_DEPENDS_arm="glib-dev gnutls-dev"
17 SPLIT="glib-networking-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --with-ca-certificates=/etc/ssl/ca-bundle.crt \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 glib-networking)
34 copy @std
35 DEPENDS="glib gmp libffi libgnutls libtasn1 nettle p11-kit pcre \
36 util-linux-blkid util-linux-mount util-linux-uuid zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="glib-networking glib-dev glibc-dev gmp-dev gnutls-dev \
41 libffi-dev libtasn1-dev nettle-dev p11-kit-dev pcre-dev \
42 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
43 zlib-dev"
44 ;;
45 esac
46 }