wok-next diff nano/receipt @ rev 20947

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 31 11:58:18 2018 +0300 (2018-08-31)
parents e7a485521d6a
children d5aab818505e
line diff
     1.1 --- a/nano/receipt	Tue Aug 07 00:30:45 2018 +0300
     1.2 +++ b/nano/receipt	Fri Aug 31 11:58:18 2018 +0300
     1.3 @@ -14,6 +14,9 @@
     1.4  BUILD_DEPENDS_arm="ncurses-dev zlib-dev"
     1.5  BUILD_DEPENDS="gettext ncurses-dev zlib-dev groff libmagic-dev"
     1.6  
     1.7 +SPLIT="nano-noarch"
     1.8 +COOKOPTS="!menus"
     1.9 +
    1.10  compile_rules() {
    1.11  	./configure \
    1.12  		--disable-wrapping-as-root \
    1.13 @@ -27,13 +30,21 @@
    1.14  }
    1.15  
    1.16  genpkg_rules() {
    1.17 -	copy @std
    1.18 +	case $PACKAGE in
    1.19 +		nano)
    1.20 +			copy bin/
    1.21 +			DEPENDS="libmagic ncurses zlib"
    1.22 +			TAGS="text-editor"
    1.23 +			SUGGESTED="gpm"
    1.24 +			;;
    1.25 +		nano-noarch)
    1.26 +			copy @std @rm
    1.27 +			CAT="utilities|common files"
    1.28  
    1.29 -	# Shrink
    1.30 -	for i in $fs/usr/share/nano/*.nanorc; do
    1.31 -		sed -i '/^#/d;/^$/d' $i
    1.32 -	done
    1.33 -	DEPENDS="libmagic ncurses zlib"
    1.34 -	TAGS="text-editor"
    1.35 -	SUGGESTED="gpm"
    1.36 +			# Shrink
    1.37 +			for i in $fs/usr/share/nano/*.nanorc; do
    1.38 +				sed -i '/^#/d;/^$/d' $i
    1.39 +			done
    1.40 +			;;
    1.41 +	esac
    1.42  }