2010-04-13 16:17:45 +02:00
|
|
|
# Template file for 'udisks'
|
|
|
|
pkgname=udisks
|
2011-08-27 08:09:58 +02:00
|
|
|
version=1.0.4
|
2011-10-11 08:12:53 +02:00
|
|
|
revision=2
|
2010-04-13 16:17:45 +02:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 19:46:38 +02:00
|
|
|
configure_args="--disable-static --enable-lvm2"
|
2010-04-13 16:17:45 +02:00
|
|
|
short_desc="Disk Management Service"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-09 18:14:38 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/udisks"
|
|
|
|
license="GPL-2"
|
2011-08-27 08:09:58 +02:00
|
|
|
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
|
2010-04-13 16:17:45 +02:00
|
|
|
long_desc="
|
2011-07-09 18:14:38 +02:00
|
|
|
The udisks project provides:
|
|
|
|
|
|
|
|
* a storage daemon that implements well-defined D-Bus interfaces that
|
|
|
|
can be used to query and manipulate storage devices.
|
|
|
|
* a command-line tool, udisks, that can be used to query and use the daemon
|
|
|
|
|
|
|
|
The actions that a user can perform using udisks are restricted using
|
|
|
|
PolicyKit."
|
2010-04-13 16:17:45 +02:00
|
|
|
|
2011-10-11 04:00:18 +02:00
|
|
|
systemd_services="udisks.service"
|
|
|
|
|
2010-04-13 16:17:45 +02:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run device-mapper
|
|
|
|
Add_dependency run libudev
|
|
|
|
Add_dependency run libparted
|
|
|
|
Add_dependency run libatasmart
|
|
|
|
Add_dependency run polkit
|
|
|
|
Add_dependency run dbus-glib
|
|
|
|
Add_dependency run dbus-libs
|
|
|
|
Add_dependency run libgudev
|
2011-02-17 11:29:09 +01:00
|
|
|
Add_dependency run libsgutils
|
2010-04-13 16:17:45 +02:00
|
|
|
Add_dependency run liblvm2app
|
2011-07-09 18:20:01 +02:00
|
|
|
Add_dependency run udev
|
2010-04-13 16:17:45 +02:00
|
|
|
|
|
|
|
Add_dependency build pkg-config
|
|
|
|
Add_dependency build intltool
|
|
|
|
Add_dependency build libxslt
|
|
|
|
Add_dependency build docbook-xsl
|
|
|
|
Add_dependency build liblvm2app-devel
|
|
|
|
Add_dependency build device-mapper-devel
|
|
|
|
Add_dependency build libparted-devel
|
|
|
|
Add_dependency build libatasmart-devel
|
|
|
|
Add_dependency build polkit-devel
|
|
|
|
Add_dependency build dbus-glib-devel
|
|
|
|
Add_dependency build libgudev-devel
|
|
|
|
Add_dependency build sg3_utils-devel
|
|
|
|
|
2011-08-27 08:09:58 +02:00
|
|
|
pre_build()
|
2010-04-13 16:17:45 +02:00
|
|
|
{
|
2010-11-10 14:28:30 +01:00
|
|
|
# Fix location for bash completion stuff.
|
2011-08-27 08:09:58 +02:00
|
|
|
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
2010-04-13 16:17:45 +02:00
|
|
|
}
|
2011-10-11 04:00:18 +02:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
|
|
|
|
}
|