SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "blueman"

# SliTaz package receipt.

PACKAGE="blueman"
VERSION="2.1.1"
CATEGORY="system-tools"
SHORT_DESC="Easy to use GTK+ Bluetooth Manager."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://github.com/blueman-project/blueman"

TARBALL="$PACKAGE-$VERSION.tar.gz"
#WGET_URL="http://download.tuxfamily.org/blueman/$TARBALL"
WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"

DEPENDS="bluez dbus dbus-python libnotify linux-bluetooth 
    notify-python py3k pygtk python-pyrex 
    startup-notification util-linux-uuid"
BUILD_DEPENDS="bluez-dev dbus-dev dbus-python-dev intltool 
    libtool libnotify-dev notify-python py3k-cython 
    py3k-dev pygobject3 pygtk-dev python-pyrex 
    startup-notification-dev util-linux-uuid-dev 
    xcb-util-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --prefix=/usr            \
        --sysconfdir=/etc        \
        --libexecdir=/usr/lib/$PACKAGE    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/pixmaps

    cp -a $install/usr/bin            $fs/usr
    cp -a $install/usr/lib            $fs/usr
    cp -a $install/usr/share/blueman    $fs/usr/share
#    cp -a $install/usr/share/hal        $fs/usr/share
    cp -a $install/usr/share/dbus-1        $fs/usr/share
#    cp -a $install/usr/share/PolicyKit    $fs/usr/share
    cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
                        $fs/usr/share/pixmaps
    cp -a $install/etc            $fs
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)