bluez: add udev builddep to get rules.d location.

--HG--
extra : convert_revision : 38a785e1809aa02fc0166e82206403f060cf51b4
This commit is contained in:
Juan RP 2010-01-17 09:34:05 +01:00
parent a9fcc2209c
commit 43efbf02a8

View File

@ -45,6 +45,7 @@ Add_dependency build glib-devel
Add_dependency build libnl-devel
Add_dependency build libusb-compat-devel
Add_dependency build libcap-ng-devel
Add_dependency build udev # This is for udev rules location
post_install()
{
@ -60,7 +61,4 @@ post_install()
${DESTDIR}/etc/init.d/bluetooth || return 1
install -m644 ${FILESDIR}/bluetooth.confd \
${DESTDIR}/etc/conf.d/bluetooth || return 1
mv ${DESTDIR}/etc/udev/rules.d/* \
${DESTDIR}/lib/udev/rules.d || return 1
rm -rf ${DESTDIR}/etc/udev || return 1
}