wok view dvtm/receipt @ rev 25515

Update qemu website
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 09:52:04 2023 +0000 (21 months ago)
parents 0bfe034e9d09
children
line source
1 # SliTaz package receipt.
3 PACKAGE="dvtm"
4 VERSION="0.15"
5 CATEGORY="system-tools"
6 SHORT_DESC="A tiling window management for the console"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.brain-dump.org/projects/dvtm"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 DEPENDS="ncursesw ncursesw-extra"
15 BUILD_DEPENDS="ncursesw-dev ncursesw-extra"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed '/dvtm-/!d;/tar/!d;s|.*/dvtm-\(.*\).tar.*|\1|' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|/usr/local|/usr|' config.mk
29 make -j 1 &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/usr/bin $fs
37 }