wok view dvtm/receipt @ rev 24917

dvtm: update deps (thanks ceel)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 09 20:43:45 2022 +0000 (2022-04-09)
parents 453c249b6219
children bd7510903310
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="http://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 }