wok-current view glib-networking/receipt @ rev 17098

tramys-server: copy messages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 28 12:43:23 2014 +0300 (2014-08-28)
parents e62fe73c97ae
children 3fbf40bde02e
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-networking"
4 VERSION="2.40.0"
5 CATEGORY="x-window"
6 SHORT_DESC="TLS support for glib."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib libgio libgnutls"
15 BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev "
17 # Handle cross compilation.
18 case "$ARCH" in
19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --without-ca-certificates \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib/gio/modules
36 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
37 }