wok view glib-networking/receipt @ rev 16258

ARM: add webkit (cross compile in my local chroot :-) and needed deps
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 05 06:13:29 2014 +0200 (2014-04-05)
parents a00bf44ed23d
children 51b3e2d10e16
line source
1 # SliTaz package receipt.
3 PACKAGE="glib-networking"
4 VERSION="2.32.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 }