void-packages/srcpkgs/udisks/template

34 lines
1.2 KiB
Text
Raw Normal View History

# Template file for 'udisks'
pkgname=udisks
2011-08-27 06:09:58 +00:00
version=1.0.4
2014-01-25 11:19:45 +00:00
revision=13
build_style=gnu-configure
configure_args="--disable-static --enable-lvm2"
2014-01-25 11:19:45 +00:00
hostmakedepends="pkg-config intltool libxslt docbook-xsl glib-devel dbus-glib-devel"
2013-10-28 11:00:05 +00:00
makedepends="libglib-devel device-mapper-devel
liblvm2app-devel libparted-devel libatasmart-devel polkit-devel
dbus-glib-devel libgudev-devel>=183 sg3_utils-devel"
make_dirs="/var/lib/udisks 0750 root root"
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
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
}
post_install() {
2012-07-09 14:20:30 +00:00
vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system
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 11:00:05 +00:00
echo "SystemdService=udisks.service" \
>> ${DESTDIR}/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service
2011-10-11 02:00:18 +00:00
}