wok view ytree/receipt @ rev 16315

ARM: add/up vala (0.24.0) + shared-mime-info (hope it will fix some gtk crash)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 14:57:01 2014 +0200 (2014-04-09)
parents cc39d5e5463c
children 5d53e8ccbc8d
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 file-browser"
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 }