blob: 4a98d98fd7801b6bcbb79e432afd8af456e9b4c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/udisks/udisks-1.0.0.ebuild,v 1.2 2010/04/07 15:28:46 ssuominen Exp $
EAPI=3
inherit bash-completion
DESCRIPTION="Daemon providing interfaces to work with storage devices"
HOMEPAGE="http://www.freedesktop.org/wiki/Software/DeviceKit"
SRC_URI="http://hal.freedesktop.org/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug doc nls"
RDEPEND=">=sys-fs/udev-147[extras]
>=dev-libs/glib-2.16.1:2
>=sys-apps/dbus-1
>=dev-libs/dbus-glib-0.82
>=sys-auth/polkit-0.92
>=sys-apps/parted-1.8.8[device-mapper]
>=sys-fs/lvm2-2.02.61
>=dev-libs/libatasmart-0.14
>=sys-apps/sg3_utils-1.27.20090411
!sys-apps/devicekit-disks"
DEPEND="${RDEPEND}
dev-util/pkgconfig
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
doc? ( dev-util/gtk-doc
app-text/docbook-xml-dtd:4.1.2 )
nls? ( >=dev-util/intltool-0.40.0 )"
src_configure() {
econf \
--localstatedir="${EPREFIX}/var" \
--disable-dependency-tracking \
--disable-static \
$(use_enable debug verbose-mode) \
--enable-man-pages \
$(use_enable doc gtk-doc) \
$(use_enable nls) \
--with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html"
}
src_install() {
emake DESTDIR="${D}" profiledir="${T}" install || die
dodoc AUTHORS HACKING NEWS README
if use bash-completion; then
dobashcompletion tools/udisks-bash-completion.sh || die
fi
find "${ED}" -name '*.la' -delete
}
|