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