wok-next view ytree/receipt @ rev 14910
Up: firefox (17.0.7esr)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Aug 06 01:01:14 2013 +0000 (2013-08-06) |
parents | 311b26630a22 |
children | 408c87fa22ca |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.han.de/~werner/ytree.html"
10 WGET_URL="http://www.han.de/~werner/$TARBALL"
11 TAGS="file-manager file-browser"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncursesw"
15 BUILD_DEPENDS="ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
22 sed -i \
23 -e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
24 -e s"/-lncurses -lreadline/-lncursesw/" \
25 Makefile &&
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/ytree $fs/usr/bin
34 }