udisks: switch to /usr.
This commit is contained in:
parent
4ff338342e
commit
e632ac47b6
2 changed files with 12 additions and 5 deletions
|
@ -1,17 +1,19 @@
|
||||||
# Template file for 'udisks'
|
# Template file for 'udisks'
|
||||||
pkgname=udisks
|
pkgname=udisks
|
||||||
version=1.0.4
|
version=1.0.4
|
||||||
revision=8
|
revision=9
|
||||||
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-static --enable-lvm2"
|
configure_args="--disable-static --enable-lvm2"
|
||||||
depends="udev"
|
depends="udev"
|
||||||
makedepends="pkg-config intltool libxslt docbook-xsl device-mapper-devel liblvm2app-devel libparted-devel libatasmart-devel polkit-devel dbus-glib-devel libgudev-devel>=183 sg3_utils-devel"
|
makedepends="pkg-config intltool libxslt docbook-xsl 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"
|
make_dirs="/var/lib/udisks 0750 root root"
|
||||||
short_desc="Disk Management Service"
|
short_desc="Disk Management Service"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.freedesktop.org/wiki/Software/udisks"
|
homepage="http://www.freedesktop.org/wiki/Software/udisks"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||||
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
|
checksum=854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5
|
||||||
long_desc="
|
long_desc="
|
||||||
The udisks project provides:
|
The udisks project provides:
|
||||||
|
@ -23,11 +25,17 @@ long_desc="
|
||||||
The actions that a user can perform using udisks are restricted using
|
The actions that a user can perform using udisks are restricted using
|
||||||
PolicyKit."
|
PolicyKit."
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Switch to /usr.
|
||||||
|
sed -i -e "s|\(slashlibdir\)=.*|\1=/usr/lib|g" \
|
||||||
|
-e "s|\(slashsbindir\)=.*|\1=/usr/sbin|g" configure
|
||||||
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# Fix location for bash completion stuff.
|
# Fix location for bash completion stuff.
|
||||||
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall ${FILESDIR}/udisks.service 644 lib/systemd/system
|
vinstall ${FILESDIR}/udisks.service 644 usr/lib/systemd/system
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
libdbus-glib-1.so.2
|
libdbus-glib-1.so.2
|
||||||
libpthread.so.0
|
|
||||||
libgobject-2.0.so.0
|
libgobject-2.0.so.0
|
||||||
libglib-2.0.so.0
|
libglib-2.0.so.0
|
||||||
libc.so.6
|
libc.so.6
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue