# SliTaz package receipt. PACKAGE="roundup" VERSION="2.2.0" CATEGORY="development" SHORT_DESC="Simple-to-use issue-tracking system with command-line, web and e-mail interfaces." MAINTAINER="slaxemulator@gmail.com" LICENSE="MIT" WEB_SITE="https://www.roundup-tracker.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://files.pythonhosted.org/packages/source/${PACKAGE:0:1}/$PACKAGE/$TARBALL" DEPENDS="python" BUILD_DEPENDS="python-setuptools" # What is the latest version available today? current_version() { wget -O - https://pypi.org/project/roundup/ 2>/dev/null | \ sed '/roundup [0-9]/!d;s|.*roundup ||' } # Rules to configure and make the package. compile_rules() { python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/share/roundup $fs/usr/share cook_copy_folders bin cook_copy_folders lib }