Magellan Linux

Annotation of /branches/R11-unstable/core/dbus-glib/dbus-glib-0.110-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32241 - (hide annotations) (download)
Mon Apr 29 11:59:47 2019 UTC (5 years ago) by niro
File size: 1271 byte(s)
-release branches/R11-unstable
1 niro 30591 # $Id$
2    
3     PNAME="dbus-glib"
4     PVER="0.110"
5     PBUILD="r1"
6    
7     PCAT="dev-libs"
8    
9     DESCRIPTION="D-BUS glib bindings."
10     HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings"
11    
12 niro 30592 DEPEND=">= sys-apps/dbus-1.12
13 niro 30591 >= dev-libs/libxml2-2.7
14 niro 30592 >= dev-libs/glib2-2.54"
15 niro 30591
16     SDEPEND=">= dev-util/pkgconfig-0.25"
17    
18 niro 30592 if mqueryfeature "check"
19     then
20     # make check needs dbus-run-session
21     SDEPEND+="
22 niro 30593 >= sys-apps/dbus-x11-1.12"
23 niro 30592 fi
24    
25 niro 30591 SRCFILE="${PNAME}-${PVER}.tar.gz"
26     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
27    
28     sminclude multilib mbuild
29    
30     SRC_URI=(
31     http://dbus.freedesktop.org/releases/${PNAME}/${SRCFILE}
32     mirror://${PNAME}/${SRCFILE}
33     )
34    
35     UP2SUBDIR="${PNAME}"
36     UP2TARBALL="${PNAME}"
37     UP2DATE="updatecmd_freedesktop dbus gz"
38    
39     src_compile()
40     {
41     mconfigure \
42     --libexecdir=/usr/$(mlibdir)/${PNAME} \
43     --with-system-pid-file=/run/dbus.pid \
44     --with-system-socket=/run/dbus/system_bus_socket \
45     --with-session-socket-dir=/tmp \
46     --with-test-socket-dir=/tmp \
47     --localstatedir=/var \
48     --with-dbus-user=messagebus \
49     --with-xml=libxml \
50     --disable-verbose-mode \
51     --disable-checks \
52     --disable-asserts \
53     --disable-doxygen-docs \
54     --disable-xml-docs \
55     || die
56    
57     mmake || die
58     }
59    
60     src_install()
61     {
62     mmake DESTDIR=${BINDIR} install || die
63     minstalldocs AUTHORS ChangeLog COPYING HACKING NEWS README || die
64     }