Contents of /branches/magellan-next/core/dbus-glib/dbus-glib-0.98-r1.smage2
Parent Directory | Revision Log
Revision 9038 -
(show annotations)
(download)
Mon Oct 3 13:02:11 2011 UTC (12 years, 11 months ago) by niro
File size: 1414 byte(s)
Mon Oct 3 13:02:11 2011 UTC (12 years, 11 months ago) by niro
File size: 1414 byte(s)
auto added: ver bump to 0.98-r1
1 | # $Id$ |
2 | |
3 | PNAME="dbus-glib" |
4 | PVER="0.98" |
5 | PBUILD="r1" |
6 | |
7 | PCATEGORIE="dev-libs" |
8 | |
9 | DESCRIPTION="D-BUS glib bindings." |
10 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings" |
11 | |
12 | DEPEND=">= sys-apps/dbus-1.4 |
13 | >= dev-libs/libxml2-2.7 |
14 | >= dev-libs/glib2-2.28" |
15 | |
16 | SDEPEND=">= dev-util/pkgconfig-0.25" |
17 | |
18 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 | |
21 | sminclude multilib |
22 | |
23 | SRC_URI=( |
24 | http://dbus.freedesktop.org/releases/${PNAME}/${SRCFILE} |
25 | mirror://${PNAME}/${SRCFILE} |
26 | mirror://${PNAME}/${PNAME}-${PVER}-marshall_objs.patch |
27 | ) |
28 | |
29 | UP2SUBDIR="${PNAME}" |
30 | UP2TARBALL="${PNAME}" |
31 | UP2DATE="updatecmd_freedesktop dbus gz" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | |
37 | # fixes segfaults of networkmanager |
38 | # see: https://bugs.freedesktop.org/show_bug.cgi?id=37852 |
39 | mpatch ${PNAME}-${PVER}-marshall_objs.patch || die |
40 | } |
41 | |
42 | src_compile() |
43 | { |
44 | mconfigure \ |
45 | --libexecdir=/usr/$(mlibdir)/${PNAME} \ |
46 | --with-system-pid-file=/var/run/dbus.pid \ |
47 | --with-system-socket=/var/run/dbus/system_bus_socket \ |
48 | --with-session-socket-dir=/tmp \ |
49 | --with-test-socket-dir=/tmp \ |
50 | --localstatedir=/var \ |
51 | --with-dbus-user=messagebus \ |
52 | --with-xml=libxml \ |
53 | --disable-verbose-mode \ |
54 | --disable-checks \ |
55 | --disable-asserts \ |
56 | --disable-doxygen-docs \ |
57 | --disable-xml-docs \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |
62 | |
63 | src_install() |
64 | { |
65 | mmake DESTDIR=${BINDIR} install || die |
66 | minstalldocs AUTHORS ChangeLog COPYING HACKING NEWS README || die |
67 | } |