wok annotate usbmanager/receipt @ rev 15685
linux-lxc: add post_install() for update menu.lst
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Dec 21 07:21:07 2013 +0100 (2013-12-21) |
parents | 43023d72cd29 |
children | 9689f1b75619 |
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 |
al@14139 | 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 |
al@14139 | 17 # Rules to configure and make the package. |
al@14139 | 18 compile_rules() |
al@14139 | 19 { |
al@14139 | 20 msgfmt $src/locale/ru.po -o $src/locale/ru.mo |
al@14139 | 21 ./setup.py build |
al@14139 | 22 ./setup.py install --root=$DESTDIR |
al@14139 | 23 } |
al@14139 | 24 |
al@14139 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14139 | 26 genpkg_rules() |
al@14139 | 27 { |
al@14139 | 28 cp -a $install/usr $fs |
al@14139 | 29 } |