wok view ytree/receipt @ rev 23876

Up dropbear (2020.80)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 01 14:12:33 2020 +0000 (2020-07-01)
parents 5d53e8ccbc8d
children 922f061231c2
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
24 sed -i \
25 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
26 -e s"/-lncurses -lreadline/-lncursesw/" \
27 Makefile &&
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/ytree $fs/usr/bin
36 }