wok view ytree/receipt @ rev 22009

updated task (2.3.0 -> 2.5.1)
author Hans-G?nter Theisgen
date Sat Oct 19 15:10:30 2019 +0100 (2019-10-19)
parents 408c87fa22ca
children 4a3bea9ac536
line source
1 # SliTaz package receipt.
3 PACKAGE="ytree"
4 VERSION="1.97"
5 CATEGORY="utilities"
6 SHORT_DESC="file manager for file and archives"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.han.de/~werner/ytree.html"
11 WGET_URL="http://www.han.de/~werner/$TARBALL"
12 TAGS="file-manager"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncursesw"
16 BUILD_DEPENDS="ncursesw-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
23 sed -i \
24 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
25 -e s"/-lncurses -lreadline/-lncursesw/" \
26 Makefile &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/ytree $fs/usr/bin
35 }