contrib/bluez-utils/Pkgfile
2008-03-27 20:58:26 -04:30

30 lines
708 B
Plaintext

# Description: Official linux bluetooth protocol stack - utilities
# URL: http://www.bluez.org/
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: python, cups, libusb, bluez-libs
name=bluez-utils
version=2.25
release=1
source=(http://bluez.sourceforge.net/download/$name-$version.tar.gz)
build() {
cd $name-$version
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-alsa \
--enable-cups \
--enable-initscripts \
--enable-hid2hci \
--disable-dbus \
--disable-nls
make
make DESTDIR=$PKG install
mv $PKG/etc/init.d $PKG/etc/rc.d
sed -i 's#/etc/init.d#/etc/rc.d#' $PKG/etc/rc.d/bluetooth
chown -R root:root $PKG
}