wok annotate blueman/receipt @ rev 24383
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 11:51:57 2022 +0000 (2022-02-06) |
parents | aa07498bd205 |
children | 343c093ad221 |
rev | line source |
---|---|
pascal@11217 | 1 # SliTaz package receipt. |
pascal@11217 | 2 |
pascal@11217 | 3 PACKAGE="blueman" |
Hans-G?nter@22558 | 4 VERSION="2.1.1" |
pascal@11217 | 5 CATEGORY="system-tools" |
pascal@11217 | 6 SHORT_DESC="Easy to use GTK+ Bluetooth Manager." |
pascal@11217 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15201 | 8 LICENSE="GPL3" |
al@19278 | 9 WEB_SITE="https://github.com/blueman-project/blueman" |
Hans-G?nter@22558 | 10 |
pascal@11217 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22558 | 12 #WGET_URL="http://download.tuxfamily.org/blueman/$TARBALL" |
Hans-G?nter@22558 | 13 WGET_URL="$WEB_SITE/releases/download/$VERSION/$TARBALL" |
pascal@11217 | 14 |
Hans-G?nter@22558 | 15 DEPENDS="bluez dbus dbus-python libnotify linux-bluetooth |
Hans-G?nter@22558 | 16 notify-python py3k pygtk python-pyrex |
Hans-G?nter@22558 | 17 startup-notification util-linux-uuid" |
Hans-G?nter@22558 | 18 BUILD_DEPENDS="bluez-dev dbus-dev dbus-python-dev intltool |
Hans-G?nter@22558 | 19 libtool libnotify-dev notify-python py3k-cython |
Hans-G?nter@22558 | 20 py3k-dev pygobject3 pygtk-dev python-pyrex |
Hans-G?nter@22558 | 21 startup-notification-dev util-linux-uuid-dev |
Hans-G?nter@22558 | 22 xcb-util-dev" |
pascal@11217 | 23 |
pascal@24055 | 24 current_version() |
pascal@24055 | 25 { |
pascal@24055 | 26 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 27 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 28 } |
pascal@24055 | 29 |
pascal@11217 | 30 # Rules to configure and make the package. |
pascal@11217 | 31 compile_rules() |
pascal@11217 | 32 { |
Hans-G?nter@22558 | 33 ./configure \ |
Hans-G?nter@22558 | 34 --prefix=/usr \ |
Hans-G?nter@22558 | 35 --sysconfdir=/etc \ |
Hans-G?nter@22558 | 36 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11217 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@22558 | 38 make && |
Hans-G?nter@22558 | 39 make install |
pascal@11217 | 40 } |
pascal@11217 | 41 |
pascal@11217 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11217 | 43 genpkg_rules() |
pascal@11217 | 44 { |
pascal@11217 | 45 mkdir -p $fs/usr/share/pixmaps |
Hans-G?nter@22558 | 46 |
Hans-G?nter@22558 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22558 | 48 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22558 | 49 cp -a $install/usr/share/blueman $fs/usr/share |
Hans-G?nter@22558 | 50 # cp -a $install/usr/share/hal $fs/usr/share |
Hans-G?nter@22558 | 51 cp -a $install/usr/share/dbus-1 $fs/usr/share |
Hans-G?nter@22558 | 52 # cp -a $install/usr/share/PolicyKit $fs/usr/share |
pascal@11217 | 53 cp -a $install/usr/share/icons/hicolor/32x32/apps/*.png \ |
Hans-G?nter@22558 | 54 $fs/usr/share/pixmaps |
Hans-G?nter@22558 | 55 cp -a $install/etc $fs |
pascal@11217 | 56 } |