wok-current annotate 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 |
rev | line source |
---|---|
pankso@10800 | 1 # SliTaz package receipt. |
pankso@10800 | 2 |
pankso@10800 | 3 PACKAGE="glib-networking" |
devl547@17595 | 4 VERSION="2.43.1" |
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 } |