2010-04-13 16:17:45 +02:00
|
|
|
# Template file for 'udisks'
|
|
|
|
pkgname=udisks
|
2014-03-12 18:41:42 +01:00
|
|
|
version=1.0.5
|
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 19:46:38 +02:00
|
|
|
configure_args="--disable-static --enable-lvm2"
|
2014-01-25 12:19:45 +01:00
|
|
|
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
|
2013-10-28 12:00:05 +01:00
|
|
|
makedepends="libglib-devel device-mapper-devel
|
2012-11-14 18:47:37 +01:00
|
|
|
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
|
|
|
|
dbus-glib-devel libgudev-devel>=183 sg3_utils-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
make_dirs="/var/lib/udisks 0750 root root"
|
2010-04-13 16:17:45 +02:00
|
|
|
short_desc="Disk Management Service"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-09 18:14:38 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/udisks"
|
|
|
|
license="GPL-2"
|
2012-07-09 16:20:30 +02:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
2014-03-12 18:41:42 +01:00
|
|
|
checksum=f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71
|
2010-04-13 16:17:45 +02:00
|
|
|
|
2012-07-09 16:20:30 +02: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 13:00:48 +01:00
|
|
|
post_install() {
|
2012-07-09 16:20:30 +02:00
|
|
|
vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system
|
2013-09-14 04:45:48 +02:00
|
|
|
vmkdir usr/share/bash-completion/completions
|
|
|
|
mv ${DESTDIR}/etc/profile.d/udisks-bash-completion.sh \
|
|
|
|
${DESTDIR}/usr/share/bash-completion/completions/udisks
|
2013-10-28 12:00:05 +01:00
|
|
|
|
|
|
|
echo "SystemdService=udisks.service" \
|
|
|
|
>> ${DESTDIR}/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service
|
2011-10-11 04:00:18 +02:00
|
|
|
}
|