wok view usbmanager/receipt @ rev 25672
Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 26 14:07:44 2024 +0000 (10 months ago) |
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 }