2010-04-13 16:17:45 +02:00
|
|
|
# Template file for 'udisks'
|
|
|
|
pkgname=udisks
|
2011-01-18 14:34:26 +01:00
|
|
|
version=1.0.2
|
2011-02-17 11:29:09 +01:00
|
|
|
revision=1
|
2010-04-13 16:17:45 +02: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-01-18 14:34:26 +01:00
|
|
|
checksum=7dc1a150a6a31b2727144603fa5a8f9852696fc5bdc4a11917b9b0f1b8e3dcf1
|
2010-04-13 16:17:45 +02:00
|
|
|
long_desc="
|
|
|
|
UPower is an abstraction for enumerating power devices, listening to device
|
|
|
|
events and querying history and statistics. Any application or service on
|
|
|
|
the system can access the org.freedesktop.UPower service via the system
|
|
|
|
message bus. Some operations (such as suspending the system) are restricted
|
|
|
|
using PolicyKit."
|
|
|
|
|
2010-11-10 14:28:30 +01:00
|
|
|
keep_empty_dirs=yes
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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 glib-devel
|
|
|
|
Add_dependency build device-mapper-devel
|
|
|
|
Add_dependency build libudev-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 dbus-devel
|
|
|
|
Add_dependency build libgudev-devel
|
|
|
|
Add_dependency build sg3_utils-devel
|
|
|
|
|
|
|
|
Add_dependency full udev
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2010-11-10 14:28:30 +01:00
|
|
|
# Fix location for bash completion stuff.
|
|
|
|
install -d ${DESTDIR}/etc/bash_completion.d
|
|
|
|
mv ${DESTDIR}/etc/profile.d/*.sh ${DESTDIR}/etc/bash_completion.d
|
2011-02-17 11:29:09 +01:00
|
|
|
chmod 644 ${DESTDIR}/etc/bash_completion.d/*.sh
|
2010-11-10 14:28:30 +01:00
|
|
|
rmdir ${DESTDIR}/etc/profile.d
|
|
|
|
|
|
|
|
# Fix location of pkg-config files.
|
2010-04-13 16:17:45 +02:00
|
|
|
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
|
|
|
}
|