SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "bluez"

# SliTaz package receipt.

PACKAGE="bluez"
VERSION="4.96"
CATEGORY="system-tools"
SHORT_DESC="Bluetooth protocol stack."
MAINTAINER="pankso@slitaz.org"
DEPENDS="linux-bluetooth alsa-lib glib dbus pygobject dbus-python"
BUILD_DEPENDS="alsa-lib-dev dbus dbus-dev glib-dev pkg-config"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.bluez.org/"
#WGET_URL="http://www.kernel.org/pub/linux/bluetooth/$TARBALL"
WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL"
TAGS="bluetooth"

# Rules to configure and make the package.

compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --mandir=/usr/share/man \
        --disable-gstreamer \
        --disable-network \
        --disable-input \
        --enable-alsa \
        --enable-usb \
        --enable-tools \
        --enable-cups \
        --enable-hid2hci \
        --enable-hidd \
        --enable-dund \
        --enable-dfutool \
        --enable-udevrules \
        --enable-configfiles \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/alsa-lib
    cp -a $_pkg/usr/bin $fs/usr
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    cp -a $_pkg/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib
    cp -a $_pkg/usr/lib/bluetooth $fs/usr/lib
    cp -a $_pkg/usr/lib/cups $fs/usr/lib
    cp -a $_pkg/etc $fs
    cp -a $_pkg/var $fs
    
    #some extra tools and config files
    cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent
    cp  $src/audio/audio.conf $fs/etc/bluetooth
    
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)