wok-next diff usbmanager/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | c022997c7a57 |
children |
line diff
1.1 --- a/usbmanager/receipt Thu Aug 23 10:22:21 2018 +0300 1.2 +++ b/usbmanager/receipt Tue Sep 01 10:31:46 2020 +0000 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="usbmanager" 1.8 VERSION="1.0.0" 1.9 @@ -7,24 +7,21 @@ 1.10 MAINTAINER="al.bobylev@gmail.com" 1.11 LICENSE="LGPL3" 1.12 WEB_SITE="https://launchpad.net/usbmanager" 1.13 + 1.14 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 WGET_URL="https://launchpad.net/$PACKAGE/1.x-hal/$VERSION/+download/$TARBALL" 1.16 1.17 -DEPENDS="python dbus-glib python-dbus notify-python python-pygobject2 \ 1.18 -python-pygtk util-linux-whereis util-linux-mkfs mtools" 1.19 -BUILD_DEPENDS="python gettext" 1.20 +BUILD_DEPENDS="python gettext-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 +compile_rules() { 1.26 msgfmt $src/locale/ru.po -o $src/locale/ru.mo 1.27 - ./setup.py build 1.28 - ./setup.py install --root=$DESTDIR 1.29 + 1.30 + python -B setup.py build 1.31 + python -B setup.py install --root=$install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 cp -a $install/usr $fs 1.39 + DEPENDS="python dbus-glib python-dbus notify-python python-pygobject2 \ 1.40 + python-pygtk util-linux-whereis util-linux-mkfs mtools" 1.41 } 1.42 -