bluez: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 17:56:12 +02:00
parent 02d4fdb929
commit 350964ed5a
1 changed files with 8 additions and 4 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'bluez'
pkgname=bluez
version=4.101
revision=1
revision=2
distfiles="${KERNEL_SITE}/bluetooth/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--libexecdir=/lib --enable-gstreamer --enable-dund
configure_args="--libexecdir=/usr/lib --enable-gstreamer --enable-dund
--enable-alsa --enable-usb --enable-tools --enable-bccmd
--enable-hid2hci --enable-dfutool --enable-hidd --enable-pand
--enable-cups --enable-pnat --enable-wiimote --disable-test
--with-systemdunitdir=/lib/systemd/system --enable-sap
--with-systemdunitdir=/usr/lib/systemd/system --enable-sap
--enable-datafiles --enable-dbusoob --enable-health"
subpackages="bluez-alsa bluez-compat bluez-gstreamer libbluetooth libbluetooth-devel"
makedepends="pkg-config flex libudev-devel>=183 readline-devel dbus-devel glib-devel
@ -43,5 +43,9 @@ post_install() {
vinstall test/${f} 755 usr/bin bluez-${f}
done
# systemd takes care of bluetoothd initialization.
rm -f ${DESTDIR}/lib/udev/rules.d/97-bluetooth.rules
rm -f ${DESTDIR}/usr/lib/udev/rules.d/97-bluetooth.rules
# Switch to /usr.
vmove "lib/*" usr/lib
}