wok-next annotate glib-networking/receipt @ rev 17141
Add some ssh tags
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 10 11:15:31 2014 +0200 (2014-09-10) |
parents | e62fe73c97ae |
children | 3fbf40bde02e |
rev | line source |
---|---|
pankso@10800 | 1 # SliTaz package receipt. |
pankso@10800 | 2 |
pankso@10800 | 3 PACKAGE="glib-networking" |
al@16818 | 4 VERSION="2.40.0" |
pankso@10800 | 5 CATEGORY="x-window" |
pankso@10800 | 6 SHORT_DESC="TLS support for glib." |
pankso@10800 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
pascal@12746 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@10800 | 10 WEB_SITE="http://www.gtk.org/" |
slaxemulator@10802 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@16258 | 12 HOST_ARCH="i486 arm" |
pankso@10800 | 13 |
pankso@10800 | 14 DEPENDS="glib libgio libgnutls" |
pankso@16258 | 15 BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev " |
pankso@16258 | 16 |
pankso@16258 | 17 # Handle cross compilation. |
pankso@16258 | 18 case "$ARCH" in |
pankso@16258 | 19 i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool automake autoconf" ;; |
pankso@16258 | 20 esac |
pankso@10800 | 21 |
pankso@10800 | 22 # Rules to configure and make the package. |
pankso@10800 | 23 compile_rules() |
pankso@10800 | 24 { |
slaxemulator@10802 | 25 ./configure \ |
pankso@10800 | 26 --prefix=/usr \ |
pankso@10800 | 27 --without-ca-certificates \ |
pankso@10800 | 28 $CONFIGURE_ARGS && |
pankso@10800 | 29 make && make install |
pankso@10800 | 30 } |
pankso@10800 | 31 |
pankso@10800 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10800 | 33 genpkg_rules() |
pankso@10800 | 34 { |
pankso@10800 | 35 mkdir -p $fs/usr/lib/gio/modules |
pankso@10800 | 36 cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules |
pankso@10800 | 37 } |