wok-next annotate usbmanager/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | c022997c7a57 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
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@21020 | 10 |
al@14139 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14139 | 12 WGET_URL="https://launchpad.net/$PACKAGE/1.x-hal/$VERSION/+download/$TARBALL" |
al@14139 | 13 |
al@21020 | 14 BUILD_DEPENDS="python gettext-dev" |
al@14139 | 15 |
al@21020 | 16 compile_rules() { |
al@14139 | 17 msgfmt $src/locale/ru.po -o $src/locale/ru.mo |
al@21020 | 18 |
al@21020 | 19 python -B setup.py build |
al@21020 | 20 python -B setup.py install --root=$install |
al@14139 | 21 } |
al@14139 | 22 |
al@21020 | 23 genpkg_rules() { |
al@14139 | 24 cp -a $install/usr $fs |
al@21020 | 25 DEPENDS="python dbus-glib python-dbus notify-python python-pygobject2 \ |
al@21020 | 26 python-pygtk util-linux-whereis util-linux-mkfs mtools" |
al@14139 | 27 } |