SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "usbmanager"

# SliTaz package receipt.

PACKAGE="usbmanager"
VERSION="1.0.0"
CATEGORY="utilities"
SHORT_DESC="An USB storage management interface written in Python"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="LGPL3"
WEB_SITE="https://launchpad.net/usbmanager"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://launchpad.net/$PACKAGE/1.x-hal/$VERSION/+download/$TARBALL"

DEPENDS="python dbus-glib dbus-python notify-python pygobject pygtk \
util-linux-whereis util-linux-mkfs mtools"
BUILD_DEPENDS="python wget"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/Latest version is/!d;s|.*is ||'
}

# Rules to configure and make the package.
compile_rules()
{
    msgfmt $src/locale/ru.po -o $src/locale/ru.mo
    ./setup.py build
    ./setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)