wok-next view ytree/receipt @ rev 20851

Add uglifyjs; fix build / up: python-cython, xpra, xscavenger, xsshfs, zbar
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 16:46:03 2018 +0300 (2018-06-24)
parents 6c12ac1293fc
children d5aab818505e
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"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
21 sed -i \
22 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
23 -e s"/-lncurses -lreadline/-lncursesw/" \
24 Makefile &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/ytree $fs/usr/bin
33 }