wok-6.x diff nano/receipt @ rev 25107

Up open-iscsi (2.0.873)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 22 17:23:49 2022 +0000 (2022-06-22)
parents ee53899c6189
children
line diff
     1.1 --- a/nano/receipt	Wed Jul 07 10:35:01 2021 +0000
     1.2 +++ b/nano/receipt	Wed Jun 22 17:23:49 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nano"
     1.7 -VERSION="4.8"
     1.8 +VERSION="6.2"
     1.9  CATEGORY="utilities"
    1.10  TAGS="text-editor"
    1.11  SHORT_DESC="Nano Text Editor."
    1.12 @@ -12,10 +12,10 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="${WEB_SITE}dist/v${VERSION%.*}/$TARBALL"
    1.15  
    1.16 -SUGGESTED="gpm"
    1.17 +SUGGESTED="gpm nano-doc nano-lang"
    1.18  DEPENDS="ncursesw zlib"
    1.19 -BUILD_DEPENDS="groff ncursesw-dev zlib-dev"
    1.20 -SPLIT="nano-doc"
    1.21 +BUILD_DEPENDS="groff ncursesw-dev patch zlib-dev"
    1.22 +SPLIT="nano-doc nano-lang"
    1.23  
    1.24  HOST_ARCH="i486 arm"
    1.25  
    1.26 @@ -59,14 +59,14 @@
    1.27  	cp $src/doc/sample.nanorc	$fs/etc/nanorc
    1.28  
    1.29  	cd $fs
    1.30 -	patch --input=$stuff/patches/nanorc.patch \
    1.31 +	patch --input=$stuff/patches/etc_nanorc-$VERSION		\
    1.32  		etc/nanorc
    1.33 -	patch --input=$stuff/patches/sh.nanorc-$VERSION \
    1.34 +	patch --input=$stuff/patches/usr_share_nano_sh.nanorc-$VERSION	\
    1.35  		usr/share/nano/sh.nanorc
    1.36  
    1.37 -	# Shrink
    1.38 +	# Shrink (delete comment lines and empty lines)
    1.39  	for i in $fs/usr/share/nano/*.nanorc
    1.40  	  do
    1.41  		sed -i '/^#/d;/^$/d' $i
    1.42 -	done
    1.43 +	  done
    1.44  }