Magellan Linux

Contents of /trunk/extras/glib-networking/glib-networking-2.30.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11508 - (show annotations) (download)
Mon Mar 12 09:45:44 2012 UTC (12 years, 3 months ago) by niro
File size: 862 byte(s)
-install gio modules via postinstall and added missing gsettings-desktop-schemas dep
1 # $Id$
2
3 PNAME="glib-networking"
4 PVER="2.30.2"
5 PBUILD="r2"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="Network-related giomodules for glib2."
10 HOMEPAGE="http://www.gnome.org/"
11
12 # todo: net-libs/libproxy support
13 DEPEND=">= dev-libs/glib2-2.30
14 >= dev-libs/gsettings-desktop-schemas-3.2.0
15 >= app-crypt/gnutls-2.17
16 >= app-crypt/ca-certificates-2011"
17
18 SDEPEND=">= dev-util/pkgconfig-0.25
19 >= dev-util/intltool-0.41
20 >= sys-dev/gettext-0.18"
21
22 SRCFILE="${PNAME}-${PVER}.tar.xz"
23
24 sminclude gnome2 multilib
25
26 UP2DATE="updatecmd_gnome ${PNAME}"
27
28 src_compile()
29 {
30 cd ${SRCDIR}
31
32 mconfigure \
33 --with-ca-certificates=/etc/ssl/certs/ca-certificates.crt \
34 --disable-static \
35 --disable-maintainer-mode \
36 --without-libproxy \
37 --with-gnutls \
38 || die
39
40 mmake || die
41 }
42
43 postinstall()
44 {
45 if [[ -z ${MROOT} ]] || [[ ${MROOT} = / ]]
46 then
47 gio-querymodules /usr/lib/gio/modules
48 fi
49 }