2010-04-13 14:17:45 +00:00
|
|
|
# Template file for 'udisks'
|
|
|
|
pkgname=udisks
|
2011-07-09 16:14:38 +00:00
|
|
|
version=1.0.3
|
2011-07-09 16:20:01 +00:00
|
|
|
revision=1
|
2010-04-13 14:17:45 +00:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
|
|
|
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
|
|
|
|
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"
|
|
|
|
checksum=d95bceb52a70c727291b934c4c05774899a0074927c8138a219b81a784de8a4b
|
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
|
|
|
|
2010-11-10 13:28:30 +00:00
|
|
|
keep_empty_dirs=yes
|
|
|
|
|
2010-04-13 14:17:45 +00: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 10:29:09 +00:00
|
|
|
Add_dependency run libsgutils
|
2010-04-13 14:17:45 +00:00
|
|
|
Add_dependency run liblvm2app
|
2011-07-09 16:20:01 +00:00
|
|
|
Add_dependency run udev
|
2010-04-13 14:17:45 +00: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
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2010-11-10 13:28:30 +00:00
|
|
|
# Fix location for bash completion stuff.
|
2011-07-09 16:20:01 +00:00
|
|
|
vmkdir etc/bash_completion.d
|
2010-11-10 13:28:30 +00:00
|
|
|
mv ${DESTDIR}/etc/profile.d/*.sh ${DESTDIR}/etc/bash_completion.d
|
2011-02-17 10:29:09 +00:00
|
|
|
chmod 644 ${DESTDIR}/etc/bash_completion.d/*.sh
|
2010-11-10 13:28:30 +00:00
|
|
|
rmdir ${DESTDIR}/etc/profile.d
|
|
|
|
|
|
|
|
# Fix location of pkg-config files.
|
2011-07-09 16:20:01 +00:00
|
|
|
vmkdir usr/lib
|
2010-04-13 14:17:45 +00:00
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
2011-05-04 11:57:46 +00:00
|
|
|
rm -rf ${DESTDIR}/var/run
|
2010-04-13 14:17:45 +00:00
|
|
|
}
|