# Description: Daemon, tools and libraries to access and manipulate disks and storage devices.
# URL: http://www.freedesktop.org/wiki/Software/udisks
# Packager: pierre at nutyx dot org, tnut at nutyx dot org
# Depends on: acl libgudev expat libatasmart libxslt polkit gobject-introspection docbook-xsl

name=udisks2
version=2.1.6
release=1

source=(http://udisks.freedesktop.org/releases/udisks-$version.tar.bz2
	udisk2-2.1.5-policy-1.patch)

build() {
cd udisks-$version
patch -Np1 -i ../udisk2-2.1.5-policy-1.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
make
make DESTDIR=$PKG install
}
