Annotation of /branches/magellan-next/core/upower/upower-0.9.12-r1.smage2
Parent Directory | Revision Log
Revision 8224 -
(hide annotations)
(download)
Wed Jul 13 09:34:45 2011 UTC (12 years, 10 months ago) by niro
File size: 1260 byte(s)
Wed Jul 13 09:34:45 2011 UTC (12 years, 10 months ago) by niro
File size: 1260 byte(s)
-fixed missing include
1 | niro | 8221 | # $Id$ |
2 | |||
3 | PNAME="upower" | ||
4 | PVER="0.9.12" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCATEGORIE="sys-apps" | ||
8 | |||
9 | DESCRIPTION="D-Bus abstraction for enumerating power devices and querying history and statistics." | ||
10 | HOMEPAGE="http://upower.freedesktop.org/" | ||
11 | |||
12 | DEPEND=">= dev-libs/glib2-2.28 | ||
13 | >= sys-apps/dbus-1.4 | ||
14 | >= dev-libs/dbus-glib-0.92 | ||
15 | >= sys-fs/udev-171 | ||
16 | >= sys-apps/polkit-0.101 | ||
17 | >= dev-libs/libusb-1 | ||
18 | >=sys-apps/pm-utils-1.4" | ||
19 | |||
20 | SDEPEND=">= app-arch/xz-utils-5 | ||
21 | >= dev-util/pkgconfig-0.25 | ||
22 | >= dev-util/intltool-0.41 | ||
23 | >= dev-libs/libxslt-1.1.26 | ||
24 | >= dev-libs/gobject-introspection-0.10 | ||
25 | >= app-text/docbook-xsl-stylesheets-1.75" | ||
26 | |||
27 | niro | 8222 | SRCFILE="${PNAME}-${PVER}.tar.xz" |
28 | niro | 8221 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
29 | |||
30 | niro | 8224 | sminclude mtools mbuild |
31 | niro | 8221 | |
32 | SRC_URI=( | ||
33 | niro | 8223 | http://upower.freedesktop.org/releases/${SRCFILE} |
34 | niro | 8221 | mirror://${PNAME}/${SRCFILE} |
35 | ) | ||
36 | |||
37 | UP2DATE="updatecmd_freedesktop ${PNAME} xz" | ||
38 | |||
39 | src_prepare() | ||
40 | { | ||
41 | munpack ${SRCFILE} || die | ||
42 | cd ${SRCDIR} | ||
43 | |||
44 | sed -i -e '/DISABLE_DEPRECATED/d' configure || die | ||
45 | } | ||
46 | |||
47 | src_compile() | ||
48 | { | ||
49 | cd ${SRCDIR} | ||
50 | |||
51 | mconfigure \ | ||
52 | --localstatedir=/var \ | ||
53 | --with-html-dir=/usr/share/doc/${PNAME}-${PVER}/html \ | ||
54 | --with-backend=linux \ | ||
55 | --disable-static \ | ||
56 | --disable-verbose-mode \ | ||
57 | --enable-man-pages \ | ||
58 | --enable-introspection \ | ||
59 | --disable-gtk-doc \ | ||
60 | --disable-tests \ | ||
61 | || die | ||
62 | |||
63 | mmake || die | ||
64 | } |