# SliTaz package receipt. PACKAGE="pymux" VERSION="0.14" CATEGORY="utilities" SHORT_DESC="A terminal multiplexer (like tmux) in Python." LICENSE="BSD" MAINTAINER="paul@slitaz.org" WEB_SITE="https://pypi.org/project/pymux/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" DEPENDS="python python-docopt python-prompt-toolkit python-pyte" BUILD_DEPENDS="python-dev python-docopt python-prompt-toolkit python-pyte python-setuptools" # What is the latest version available today? current_version() { wget -O - $WEB_SITE 2>/dev/null | sed "/$PACKAGE [0-9]/!d;s|.*$PACKAGE ||;s|<.*||;q" } # Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }