udisks: install pc file into correct dir, misc changes.
This commit is contained in:
parent
afab0ec8f8
commit
aebfde1398
1 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'udisks'
|
||||
pkgname=udisks
|
||||
version=1.0.3
|
||||
revision=1
|
||||
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-static --localstatedir=/var --enable-lvm2"
|
||||
|
@ -33,34 +34,31 @@ Add_dependency run dbus-libs
|
|||
Add_dependency run libgudev
|
||||
Add_dependency run libsgutils
|
||||
Add_dependency run liblvm2app
|
||||
Add_dependency run udev
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build intltool
|
||||
Add_dependency build libxslt
|
||||
Add_dependency build docbook-xsl
|
||||
Add_dependency build liblvm2app-devel
|
||||
Add_dependency build glib-devel
|
||||
Add_dependency build device-mapper-devel
|
||||
Add_dependency build libudev-devel
|
||||
Add_dependency build libparted-devel
|
||||
Add_dependency build libatasmart-devel
|
||||
Add_dependency build polkit-devel
|
||||
Add_dependency build dbus-glib-devel
|
||||
Add_dependency build dbus-devel
|
||||
Add_dependency build libgudev-devel
|
||||
Add_dependency build sg3_utils-devel
|
||||
|
||||
Add_dependency full udev
|
||||
|
||||
post_install()
|
||||
{
|
||||
# Fix location for bash completion stuff.
|
||||
install -d ${DESTDIR}/etc/bash_completion.d
|
||||
vmkdir etc/bash_completion.d
|
||||
mv ${DESTDIR}/etc/profile.d/*.sh ${DESTDIR}/etc/bash_completion.d
|
||||
chmod 644 ${DESTDIR}/etc/bash_completion.d/*.sh
|
||||
rmdir ${DESTDIR}/etc/profile.d
|
||||
|
||||
# Fix location of pkg-config files.
|
||||
vmkdir usr/lib
|
||||
mv ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
|
||||
rm -rf ${DESTDIR}/var/run
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue