wok-6.x annotate dvtm/receipt @ rev 25206
updated python-netaddr (0.7.19 -> 0.8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:43:56 2022 +0100 (2022-07-13) |
parents | 0bfe034e9d09 |
children |
rev | line source |
---|---|
claudinei@14323 | 1 # SliTaz package receipt. |
claudinei@14323 | 2 |
claudinei@14323 | 3 PACKAGE="dvtm" |
Hans-G?nter@20858 | 4 VERSION="0.15" |
claudinei@14323 | 5 CATEGORY="system-tools" |
claudinei@14323 | 6 SHORT_DESC="A tiling window management for the console" |
claudinei@14323 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15202 | 8 LICENSE="MIT" |
pascal@24972 | 9 WEB_SITE="https://www.brain-dump.org/projects/dvtm" |
Hans-G?nter@20858 | 10 |
claudinei@14323 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@14323 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@14323 | 13 |
pascal@24917 | 14 DEPENDS="ncursesw ncursesw-extra" |
pascal@18420 | 15 BUILD_DEPENDS="ncursesw-dev ncursesw-extra" |
claudinei@14323 | 16 |
pascal@24425 | 17 # What is the latest version available today? |
pascal@24425 | 18 current_version() |
pascal@24425 | 19 { |
pascal@24425 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24425 | 21 sed '/dvtm-/!d;/tar/!d;s|.*/dvtm-\(.*\).tar.*|\1|' | sort -Vr | sed q |
pascal@24425 | 22 } |
pascal@24425 | 23 |
claudinei@14323 | 24 # Rules to configure and make the package. |
claudinei@14323 | 25 compile_rules() |
claudinei@14323 | 26 { |
claudinei@14323 | 27 sed -i 's|/usr/local|/usr|' config.mk |
Hans-G?nter@20858 | 28 |
Hans-G?nter@20858 | 29 make -j 1 && |
Hans-G?nter@20858 | 30 make install |
claudinei@14323 | 31 } |
claudinei@14323 | 32 |
claudinei@14323 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@14323 | 34 genpkg_rules() |
claudinei@14323 | 35 { |
claudinei@14323 | 36 cp -a $install/usr/bin $fs |
claudinei@14323 | 37 } |