wok-next diff ytree/receipt @ rev 14240

ekiga: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 22 15:29:00 2013 +0100 (2013-03-22)
parents 311b26630a22
children 408c87fa22ca
line diff
     1.1 --- a/ytree/receipt	Wed Oct 26 20:30:12 2011 +0000
     1.2 +++ b/ytree/receipt	Fri Mar 22 15:29:00 2013 +0100
     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