bluez: enable deprecated tools

This commit is contained in:
benalb 2019-02-14 21:40:12 +01:00 committed by maxice8
parent 26eda47851
commit 308b17e65f
2 changed files with 23 additions and 2 deletions

1
srcpkgs/bluez-deprecated Symbolic link
View file

@ -0,0 +1 @@
bluez

View file

@ -1,10 +1,10 @@
# Template file for 'bluez'
pkgname=bluez
version=5.50
revision=4
revision=5
build_style=gnu-configure
configure_args="--with-udevdir=/usr/lib/udev --disable-systemd
--enable-sixaxis --enable-threads --enable-library"
--enable-sixaxis --enable-threads --enable-library --enable-deprecated"
hostmakedepends="automake flex libtool pkg-config"
makedepends="cups-devel eudev-libudev-devel libglib-devel libical-devel
readline-devel"
@ -49,3 +49,23 @@ bluez-cups_package() {
vmove usr/lib/cups/backend/bluetooth
}
}
bluez-deprecated_package() {
short_desc+=" - deprecated tools"
pkg_install() {
vmove usr/bin/ciptool
vmove usr/bin/hciattach
vmove usr/bin/hciconfig
vmove usr/bin/hcidump
vmove usr/bin/hcitool
vmove usr/bin/rfcomm
vmove usr/bin/sdptool
vmove usr/share/man/man1/ciptool.1
vmove usr/share/man/man1/hciattach.1
vmove usr/share/man/man1/hciconfig.1
vmove usr/share/man/man1/hcidump.1
vmove usr/share/man/man1/hcitool.1
vmove usr/share/man/man1/rfcomm.1
vmove usr/share/man/man1/sdptool.1
}
}