wok-next diff glib-networking/receipt @ rev 10800

Add glib-networking (needed for https support in webkit based browser)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 04 13:55:59 2011 +0200 (2011-06-04)
parents
children 0e777b9e1bd3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/glib-networking/receipt	Sat Jun 04 13:55:59 2011 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="glib-networking"
     1.7 +VERSION="2.28.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="TLS support for glib."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.gtk.org/"
    1.13 +WGET_URL="git://git.gnome.org/glib-networking"
    1.14 +BRANCH="$VERSION"
    1.15 +
    1.16 +DEPENDS="glib libgio libgnutls"
    1.17 +BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev automake autoconf git"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	./autogen.sh \
    1.24 +		--prefix=/usr \
    1.25 +		--without-ca-certificates \
    1.26 +		$CONFIGURE_ARGS &&
    1.27 +	make && make install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr/lib/gio/modules
    1.34 +	cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules
    1.35 +}