2010-04-13 14:17:45 +00:00
|
|
|
# Template file for 'udisks'
|
|
|
|
pkgname=udisks
|
2011-08-27 06:09:58 +00:00
|
|
|
version=1.0.4
|
2012-11-14 17:47:37 +00:00
|
|
|
revision=10
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-16 17:46:38 +00:00
|
|
|
configure_args="--disable-static --enable-lvm2"
|
2012-07-09 14:20:30 +00:00
|
|
|
makedepends="pkg-config intltool libxslt docbook-xsl device-mapper-devel
|
2012-11-14 17:47:37 +00:00
|
|
|
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
|
|
|
|
dbus-glib-devel libgudev-devel>=183 sg3_utils-devel"
|
2012-05-26 14:32:38 +00:00
|
|
|
make_dirs="/var/lib/udisks 0750 root root"
|
2010-04-13 14:17:45 +00:00
|
|
|
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"
|
2012-07-09 14:20:30 +00:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
2011-08-27 06:09:58 +00:00
|
|
|
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
|
2010-04-13 14:17:45 +00:00
|
|
|
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."
|
2010-04-13 14:17:45 +00:00
|
|
|
|
2012-07-09 14:20:30 +00:00
|
|
|
pre_configure() {
|
|
|
|
# Switch to /usr.
|
|
|
|
sed -i -e "s|\(slashlibdir\)=.*|\1=/usr/lib|g" \
|
|
|
|
-e "s|\(slashsbindir\)=.*|\1=/usr/sbin|g" configure
|
|
|
|
}
|
|
|
|
|
2011-11-10 12:00:48 +00:00
|
|
|
pre_build() {
|
2010-11-10 13:28:30 +00:00
|
|
|
# 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
|
2010-04-13 14:17:45 +00:00
|
|
|
}
|
2011-10-11 02:00:18 +00:00
|
|
|
|
2011-11-10 12:00:48 +00:00
|
|
|
post_install() {
|
2012-07-09 14:20:30 +00:00
|
|
|
vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system
|
2011-10-11 02:00:18 +00:00
|
|
|
}
|