void-packages/srcpkgs/udisks2/template

36 lines
1.1 KiB
Text

# Template file for 'udisks2'
pkgname=udisks2
version=2.1.0
revision=2
wrksrc="udisks-${version}"
build_style=gnu-configure
configure_args="--disable-static --with-udevdir=/usr/lib/udev
--with-systemdsystemunitdir=/usr/lib/systemd/system"
makedepends="pkg-config intltool gobject-introspection libxslt docbook-xsl
acl-devel device-mapper-devel liblvm2app-devel libparted-devel
libatasmart-devel polkit-devel libgudev-devel sg3_utils-devel systemd-devel"
short_desc="Disk Management Service, version 2"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.freedesktop.org/wiki/Software/udisks"
license="GPL-2"
distfiles="http://udisks.freedesktop.org/releases/udisks-${version}.tar.bz2"
checksum=310208e5a10335dae4b52a0125c24d31cf292cce3d15cf65da4cd308e38d15a8
udisks2-devel_package() {
depends="libglib-devel udisks2>=$version"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}
udisks2_package() {
make_dirs="/var/lib/udisks2 0750 root root"
pkg_install() {
vmove etc
vmove usr
}
}