wok-next view ytree/receipt @ rev 18047
Up tazusb (178), tazpanel (496), slitaz-config (254)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 14 09:18:57 2015 +0200 (2015-05-14) |
parents | 408c87fa22ca |
children | 6c12ac1293fc |
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 }