wok diff ytree/receipt @ rev 14964

Up: firefox-langpack-de (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:19:54 2013 +0200 (2013-08-08)
parents 311b26630a22
children 408c87fa22ca
line diff
     1.1 --- a/ytree/receipt	Wed Oct 26 20:30:12 2011 +0000
     1.2 +++ b/ytree/receipt	Thu Aug 08 22:19:54 2013 +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