wok-next diff ytree/receipt @ rev 21724

busybox: update configs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:04:25 2020 +0000 (2020-09-01)
parents c4e53a39395a
children
line diff
     1.1 --- a/ytree/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/ytree/receipt	Tue Sep 01 11:04:25 2020 +0000
     1.3 @@ -3,32 +3,29 @@
     1.4  PACKAGE="ytree"
     1.5  VERSION="1.97"
     1.6  CATEGORY="utilities"
     1.7 -SHORT_DESC="file manager for file and archives"
     1.8 +SHORT_DESC="File manager for file and archives"
     1.9  MAINTAINER="allan316@gmail.com"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://www.han.de/~werner/ytree.html"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://www.han.de/~werner/ytree.html"
    1.15  WGET_URL="http://www.han.de/~werner/$TARBALL"
    1.16 -TAGS="file-manager"
    1.17  
    1.18 -DEPENDS="ncurses"
    1.19  BUILD_DEPENDS="ncurses-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	# Dont use readline && utf-8 support via ncursesw && -0s to save ~10kb :-)
    1.25 +compile_rules() {
    1.26 +	# Don't use readline && utf-8 support via ncursesw && -Os to save ~10kb :-)
    1.27  	sed -i \
    1.28  		-e s"/CFLAGS.*/CFLAGS = -D_GNU_SOURCE -DWITH_UTF8 -Os -DCOLOR_SUPPORT/" \
    1.29  		-e s"/-lncurses -lreadline/-lncursesw/" \
    1.30 -		Makefile &&
    1.31 -	make
    1.32 +		Makefile
    1.33 +
    1.34 +	make &&
    1.35 +	install -Dm755 ytree $install/usr/bin/ytree
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/bin
    1.42 -	cp -a $src/ytree $fs/usr/bin
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="ncurses"
    1.46 +	TAGS="file-manager"
    1.47  }
    1.48 -