Magellan Linux

Contents of /branches/R11-stable/extras/udisks2/udisks2-2.1.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24210 - (show annotations) (download)
Fri Feb 20 09:28:08 2015 UTC (9 years, 2 months ago) by niro
File size: 1517 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="udisks2"
4 PVER="2.1.4"
5 PBUILD="r1"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="Daemon providing interfaces to work with storage devices."
10 HOMEPAGE="http://www.freedesktop.org/wiki/Software/udisks"
11
12 DEPEND=">= dev-libs/glib2-2.42
13 >= sys-apps/dbus-1.8
14 >= sys-fs/udev-216
15 >= sys-apps/polkit-0.112
16 >= sys-apps/acl-2.2
17 >= sys-apps/util-linux-2.25
18 >= sys-fs/parted-3.1
19 >= sys-fs/cryptsetup-1.6
20 >= dev-libs/libatasmart-0.19
21 >= virtual/eject"
22
23 SDEPEND=">= dev-util/pkgconfig-0.25
24 >= dev-util/intltool-0.50
25 >= dev-libs/libxslt-1.1.26
26 >= app-text/docbook-xsl-stylesheets-1.76
27 >= dev-libs/gobject-introspection-1.42"
28
29 SRCFILE="udisks-${PVER}.tar.bz2"
30 SRCDIR="${BUILDDIR}/udisks-${PVER}"
31
32 sminclude mtools udev systemd
33
34 SRC_URI=(
35 http://udisks.freedesktop.org/releases/${SRCFILE}
36 mirror://${PNAME}/${SRCFILE}
37 mirror://${PNAME}/${PNAME}-1.94.0-ntfs-3g.patch
38 )
39
40 UP2DATE="updatecmd_freedesktop udisks"
41
42 src_prepare()
43 {
44 munpack ${SRCFILE} || die
45 cd ${SRCDIR}
46
47 # support ntfs-3g
48 mpatch ${PNAME}-1.94.0-ntfs-3g.patch || die
49 }
50
51 src_compile()
52 {
53 cd ${SRCDIR}
54
55 mconfigure \
56 --libexecdir=/usr/$(mlibdir)/${PNAME} \
57 --localstatedir=/var \
58 --disable-static \
59 --disable-gtk-doc \
60 --enable-introspection \
61 --with-systemdsystemunitdir=$(mget-systemd-unit-dir) \
62 --with-udevdir=$(mget-udev-dir) \
63 || die
64
65 mmake || die
66 }
67
68 src_install()
69 {
70 cd ${SRCDIR}
71 mmake DESTDIR=${BINDIR} install || die
72 mkeepdir /media || die
73 mkeepdir /var/lib/udisks2 || die
74
75 minstalldocs COPYING ChangeLog NEWS README TODO || die
76 }