# SliTaz package receipt. PACKAGE="dvtm" VERSION="0.15" CATEGORY="system-tools" SHORT_DESC="A tiling window management for the console" MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" WEB_SITE="https://www.brain-dump.org/projects/dvtm" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/$TARBALL" DEPENDS="ncursesw ncursesw-extra" BUILD_DEPENDS="ncursesw-dev ncursesw-extra" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed '/dvtm-/!d;/tar/!d;s|.*/dvtm-\(.*\).tar.*|\1|' | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { sed -i 's|/usr/local|/usr|' config.mk make -j 1 && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr/bin $fs }