wok-current view glib-networking/receipt @ rev 19874
linld: fix progname (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 31 10:37:54 2017 +0200 (2017-03-31) |
parents | 3fbf40bde02e |
children | b206aa4371e3 |
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 }