wok-next view ytree/receipt @ rev 17599
linux: CONFIG_USB_SERIAL_VISOR=m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Feb 11 01:56:28 2015 -0500 (2015-02-11) |
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 }