# HG changeset patch # User Christophe Lincoln # Date 1307188559 -7200 # Node ID 045183e2bc4c603a872f23b30aa34c09bbef7334 # Parent 96a38268d475610c3d0bf3d89784be226ffe06dc Add glib-networking (needed for https support in webkit based browser) diff -r 96a38268d475 -r 045183e2bc4c glib-networking-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/glib-networking-dev/receipt Sat Jun 04 13:55:59 2011 +0200 @@ -0,0 +1,16 @@ +# SliTaz package receipt. + +PACKAGE="glib-networking-dev" +VERSION="2.28.6" +CATEGORY="development" +SHORT_DESC="The glib-networking devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="glib-networking" +WEB_SITE="http://www.gtk.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gio/modules + cp -a $install/usr/lib/gio/modules/*.*a $fs/usr/lib/gio/modules +} diff -r 96a38268d475 -r 045183e2bc4c glib-networking/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/glib-networking/receipt Sat Jun 04 13:55:59 2011 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="glib-networking" +VERSION="2.28.6" +CATEGORY="x-window" +SHORT_DESC="TLS support for glib." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gtk.org/" +WGET_URL="git://git.gnome.org/glib-networking" +BRANCH="$VERSION" + +DEPENDS="glib libgio libgnutls" +BUILD_DEPENDS="glib-dev libgio-dev gnutls-dev automake autoconf git" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./autogen.sh \ + --prefix=/usr \ + --without-ca-certificates \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib/gio/modules + cp -a $install/usr/lib/gio/modules/*.so* $fs/usr/lib/gio/modules +}