
Receipt for package "bluez"
# SliTaz package receipt. PACKAGE="bluez" VERSION="5.64" CATEGORY="system-tools" TAGS="bluetooth" SHORT_DESC="Bluetooth protocol stack." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.bluez.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://www.kernel.org/pub/linux/bluetooth/$TARBALL" #WGET_URL="http://sourceware.mirrors.tds.net/pub/kernel.org/linux/bluetooth/$TARBALL" DEPENDS="dbus dbus-python glib libical libusb-compat linux-bluetooth pygobject" BUILD_DEPENDS="dbus-dev glib-dev libical-dev libusb-compat libusb-dev udev-dev pkg-config readline-dev python-docutils" CONFIG_FILES="/etc/bluetooth" HOST_ARCH="i486 x86_64" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's/NEED_USB/xx&/' tools/*.c export LDFLAGS="$LDFLAGS -ltinfo" # 5.54 unrecognised # --enable-bccmd \ # --enable-dfutool \ # --enable-dund \ # --enable-hid2hci \ # --enable-hidd \ # --enable-pand \ # --enable-usb \ # --enable-wiimote \ # Patch for CVE-2023-45866 patch -p1 < $stuff/CVE-2023-45866.patch # Issue occured if pyc not generated # not understand what happen :( python -m compileall ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/lib \ --mandir=/usr/share/man \ --enable-cups \ --enable-hid2hci \ --enable-library \ --enable-sap \ --enable-tools \ --enable-deprecated \ --disable-systemd \ --disable-test \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/lib mkdir -p $fs/usr/lib mkdir -p $fs/etc/bluetooth cp -a $install/etc $fs cp -a $install/lib/bluetooth $fs/lib cp -a $install/lib/udev $fs/lib cp -a $install/usr/bin $fs/usr # cp -a $install/usr/sbin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib # cp -a $install/usr/lib/alsa-lib/*.so* $fs/usr/lib/alsa-lib cp -a $install/usr/lib/cups $fs/usr/lib # cp -a $install/var $fs #some extra tools and configuration files cp -a $src/test/simple-agent $fs/usr/bin/bluez-simple-agent cp $src/src/main.conf $fs/etc/bluetooth # cp $src/audio/audio.conf $fs/etc/bluetooth } # Post message when installing. post_install() { [ -s $1/usr/bin/bluepin ] || cat > $1/usr/bin/bluepin <<EOT #!/bin/sh printf "PIN:%04d\n" \${1:-$(($RANDOM%10000))} EOT chmod +x $1/usr/bin/bluepin }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)