void-packages/srcpkgs/udisks/template

38 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'udisks'
pkgname=udisks
2011-08-27 06:09:58 +00:00
version=1.0.4
2012-03-20 06:53:51 +00:00
revision=6
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--disable-static --enable-lvm2"
depends="udev"
makedepends="pkg-config intltool libxslt docbook-xsl device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel dbus-glib-devel libgudev-devel sg3_utils-devel"
short_desc="Disk Management Service"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-07-09 16:14:38 +00:00
homepage="http://www.freedesktop.org/wiki/Software/udisks"
license="GPL-2"
2011-08-27 06:09:58 +00:00
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
long_desc="
2011-07-09 16:14:38 +00: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."
systemd_services="udisks.service on"
make_dirs="/var/lib/udisks 0750 root root"
2011-10-11 02:00:18 +00:00
pre_build() {
# Fix location for bash completion stuff.
2011-08-27 06:09:58 +00:00
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
}
2011-10-11 02:00:18 +00:00
post_install() {
2011-10-11 02:00:18 +00:00
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
}