wok-current view blueman/receipt @ rev 25445
itaka: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 07:38:52 2022 +0000 (2022-09-06) |
parents | aa07498bd205 |
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 current_version()
25 {
26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
27 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --prefix=/usr \
35 --sysconfdir=/etc \
36 --libexecdir=/usr/lib/$PACKAGE \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share/pixmaps
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib $fs/usr
49 cp -a $install/usr/share/blueman $fs/usr/share
50 # cp -a $install/usr/share/hal $fs/usr/share
51 cp -a $install/usr/share/dbus-1 $fs/usr/share
52 # cp -a $install/usr/share/PolicyKit $fs/usr/share
53 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \
54 $fs/usr/share/pixmaps
55 cp -a $install/etc $fs
56 }