wok-6.x view usbmanager/receipt @ rev 24441
firefox-official*: prohibit user update
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 14 07:01:08 2022 +0100 (2022-02-14) |
parents | 7390f8de9846 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="usbmanager"
4 VERSION="1.0.0"
5 CATEGORY="utilities"
6 SHORT_DESC="An USB storage management interface written in Python"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL3"
9 WEB_SITE="https://launchpad.net/usbmanager"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://launchpad.net/$PACKAGE/1.x-hal/$VERSION/+download/$TARBALL"
13 DEPENDS="python dbus-glib dbus-python notify-python pygobject pygtk \
14 util-linux-whereis util-linux-mkfs mtools"
15 BUILD_DEPENDS="python wget"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/Latest version is/!d;s|.*is ||'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 msgfmt $src/locale/ru.po -o $src/locale/ru.mo
28 ./setup.py build
29 ./setup.py install --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }