wok-next view glib-networking/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 5ff41aaf68d9 |
children | 5baa3b6a24e7 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="intltool gnutls-dev gsettings-desktop-schemas"
15 BUILD_DEPENDS_arm="glib-dev gnutls-dev"
16 SPLIT="glib-networking-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --with-ca-certificates=/etc/ssl/ca-bundle.crt \
23 --disable-static \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 glib-networking)
33 copy @std
34 DEPENDS="glib gmp libffi libgnutls libtasn1 nettle p11-kit pcre \
35 util-linux-blkid util-linux-mount util-linux-uuid zlib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="glib-networking glib-dev glibc-dev gmp-dev gnutls-dev \
40 libffi-dev libtasn1-dev nettle-dev p11-kit-dev pcre-dev \
41 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
42 zlib-dev"
43 ;;
44 esac
45 }