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

ibedit: add -ltinfo in LDFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 05 22:31:32 2015 +0100 (2015-03-05)
parents 51b3e2d10e16
children 07a2c1bb6027
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-networking"
4 VERSION="2.43.1"
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 }