wok annotate dvtm/receipt @ rev 24516
updated enet (1.3.14 -> 1.3.17)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 07:39:01 2022 +0100 (2022-02-22) |
parents | c914135fdee1 |
children | 0bfe034e9d09 |
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" |
claudinei@14323 | 9 WEB_SITE="http://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 |
claudinei@14323 | 14 DEPENDS="ncursesw" |
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 } |