wok view blueman/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (5 weeks ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="blueman"
4 VERSION="2.1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Easy to use GTK+ Bluetooth Manager."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://github.com/blueman-project/blueman"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://download.tuxfamily.org/blueman/$TARBALL"
13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL"
15 DEPENDS="bluez dbus dbus-python libnotify linux-bluetooth
16 notify-python py3k pygtk python-pyrex
17 startup-notification util-linux-uuid"
18 BUILD_DEPENDS="bluez-dev dbus-dev dbus-python-dev intltool
19 libtool libnotify-dev notify-python py3k-cython
20 py3k-dev pygobject3 pygtk-dev python-pyrex
21 startup-notification-dev util-linux-uuid-dev
22 xcb-util-dev"
24 # What is the latest version available today?
25 current_version()
26 {
27 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
28 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --prefix=/usr \
36 --sysconfdir=/etc \
37 --libexecdir=/usr/lib/$PACKAGE \
38 $CONFIGURE_ARGS &&
39 make &&
40 make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share/pixmaps
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib $fs/usr
50 cp -a $install/usr/share/blueman $fs/usr/share
51 # cp -a $install/usr/share/hal $fs/usr/share
52 cp -a $install/usr/share/dbus-1 $fs/usr/share
53 # cp -a $install/usr/share/PolicyKit $fs/usr/share
54 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
55 $fs/usr/share/pixmaps
56 cp -a $install/etc $fs
57 }