vp-build/srcpkgs/udisks/template

49 lines
1.5 KiB
Plaintext

# Template file for 'udisks'
pkgname=udisks
version=1.0.4
revision=5
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
build_style=gnu-configure
configure_args="--disable-static --enable-lvm2"
short_desc="Disk Management Service"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/udisks"
license="GPL-2"
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
long_desc="
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"
Add_dependency run udev
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libxslt
Add_dependency build docbook-xsl
Add_dependency build device-mapper-devel
Add_dependency build liblvm2app-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
pre_build() {
# Fix location for bash completion stuff.
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
}
post_install() {
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
}