wok annotate usbmanager/receipt @ rev 25049
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 04 20:10:27 2022 +0000 (2022-06-04) |
parents | 7390f8de9846 |
children |
rev | line source |
---|---|
al@14139 | 1 # SliTaz package receipt. |
al@14139 | 2 |
al@14139 | 3 PACKAGE="usbmanager" |
al@14139 | 4 VERSION="1.0.0" |
al@14139 | 5 CATEGORY="utilities" |
al@14139 | 6 SHORT_DESC="An USB storage management interface written in Python" |
al@14139 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@14997 | 8 LICENSE="LGPL3" |
al@14139 | 9 WEB_SITE="https://launchpad.net/usbmanager" |
al@14139 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14139 | 11 WGET_URL="https://launchpad.net/$PACKAGE/1.x-hal/$VERSION/+download/$TARBALL" |
al@14139 | 12 |
pascal@17482 | 13 DEPENDS="python dbus-glib dbus-python notify-python pygobject pygtk \ |
al@14139 | 14 util-linux-whereis util-linux-mkfs mtools" |
al@14139 | 15 BUILD_DEPENDS="python wget" |
al@14139 | 16 |
pascal@24434 | 17 # What is the latest version available today? |
pascal@24434 | 18 current_version() |
pascal@24434 | 19 { |
pascal@24434 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24434 | 21 sed '/Latest version is/!d;s|.*is ||' |
pascal@24434 | 22 } |
pascal@24434 | 23 |
al@14139 | 24 # Rules to configure and make the package. |
al@14139 | 25 compile_rules() |
al@14139 | 26 { |
al@14139 | 27 msgfmt $src/locale/ru.po -o $src/locale/ru.mo |
al@14139 | 28 ./setup.py build |
al@14139 | 29 ./setup.py install --root=$DESTDIR |
al@14139 | 30 } |
al@14139 | 31 |
al@14139 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14139 | 33 genpkg_rules() |
al@14139 | 34 { |
al@14139 | 35 cp -a $install/usr $fs |
al@14139 | 36 } |
al@18086 | 37 |