wok-6.x annotate ytree/receipt @ rev 24623
updated graphviz, graphviz-dev and graphviz-doc again (2.42.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 16:41:52 2022 +0100 (2022-03-07) |
parents | 4a3bea9ac536 |
children |
rev | line source |
---|---|
allan316@2817 | 1 # SliTaz package receipt. |
allan316@2817 | 2 |
allan316@2817 | 3 PACKAGE="ytree" |
Hans-G?nter@23791 | 4 VERSION="2.02" |
allan316@2817 | 5 CATEGORY="utilities" |
Hans-G?nter@23791 | 6 TAGS="file-manager" |
Hans-G?nter@23791 | 7 SHORT_DESC="A curses-based file manager." |
allan316@2817 | 8 MAINTAINER="allan316@gmail.com" |
pascal@15001 | 9 LICENSE="GPL2" |
Hans-G?nter@23791 | 10 WEB_SITE="https://www.han.de/~werner/ytree.html" |
Hans-G?nter@23791 | 11 |
allan316@2817 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23791 | 13 WGET_URL="https://www.han.de/~werner/$TARBALL" |
pankso@12853 | 14 |
pankso@12853 | 15 DEPENDS="ncursesw" |
pankso@12853 | 16 BUILD_DEPENDS="ncursesw-dev" |
allan316@2817 | 17 |
Hans-G?nter@23791 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@23791 | 19 |
pascal@24304 | 20 # What is the latest version available today? |
pascal@24304 | 21 current_version() |
pascal@24304 | 22 { |
pascal@24304 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 24 sed '/New in/!d;s|.*in ||;q' |
pascal@24304 | 25 } |
pascal@24304 | 26 |
allan316@2817 | 27 # Rules to configure and make the package. |
allan316@2817 | 28 compile_rules() |
allan316@2817 | 29 { |
pankso@12853 | 30 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-) |
pankso@12853 | 31 sed -i \ |
pankso@12853 | 32 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \ |
pankso@12853 | 33 -e s"/-lncurses -lreadline/-lncursesw/" \ |
pankso@12853 | 34 Makefile && |
allan316@2817 | 35 make |
allan316@2817 | 36 } |
allan316@2817 | 37 |
allan316@2817 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@2817 | 39 genpkg_rules() |
allan316@2817 | 40 { |
allan316@2817 | 41 mkdir -p $fs/usr/bin |
Hans-G?nter@23791 | 42 cp -a $src/ytree $fs/usr/bin |
allan316@2817 | 43 } |