wok-6.x rev 12853

ytree: cross-compile, use ncursew, add desktop file. So we have a file manager for ARM until glib/mc will cross...
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 23 13:48:16 2012 +0200 (2012-05-23)
parents b2d7481dd7f1
children 714a41626fed
files ytree/receipt ytree/stuff/ytree.desktop
line diff
     1.1 --- a/ytree/receipt	Wed May 23 13:04:01 2012 +0200
     1.2 +++ b/ytree/receipt	Wed May 23 13:48:16 2012 +0200
     1.3 @@ -5,17 +5,24 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="file manager for file and archives"
     1.6  MAINTAINER="allan316@gmail.com"
     1.7 -BUILD_DEPENDS="readline readline-dev ncurses-dev"
     1.8 -DEPENDS="readline ncurses"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.han.de/~werner/ytree.html"
    1.11  WGET_URL="http://www.han.de/~werner/$TARBALL"
    1.12  TAGS="file-manager file-browser"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +DEPENDS="ncursesw"
    1.16 +BUILD_DEPENDS="ncursesw-dev"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 +	# Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
    1.23 +	sed -i \
    1.24 +		-e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
    1.25 +		-e s"/-lncurses -lreadline/-lncursesw/" \
    1.26 +		Makefile &&
    1.27  	make
    1.28  }
    1.29  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ytree/stuff/ytree.desktop	Wed May 23 13:48:16 2012 +0200
     2.3 @@ -0,0 +1,7 @@
     2.4 +[Desktop Entry]
     2.5 +Encoding=UTF-8
     2.6 +Name=Ytree File Manager
     2.7 +Exec=terminal -e ytree
     2.8 +Icon=user-home
     2.9 +Type=Application
    2.10 +Categories=System;