wok-current rev 14334

nano: fix nanorc path, tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 13 15:06:57 2013 +0000 (2013-04-13)
parents d6c32e54f385
children da03be6e2691
files nano/description.txt nano/receipt nano/stuff/nano.desktop nano/stuff/nano.png
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/nano/description.txt	Sat Apr 13 15:06:57 2013 +0000
     1.3 @@ -0,0 +1,2 @@
     1.4 +The Nano package contains a small, simple text editor which aims to replace
     1.5 +Pico, the default editor in the Pine package.
     2.1 --- a/nano/receipt	Fri Apr 12 21:08:19 2013 +0200
     2.2 +++ b/nano/receipt	Sat Apr 13 15:06:57 2013 +0000
     2.3 @@ -3,15 +3,19 @@
     2.4  PACKAGE="nano"
     2.5  VERSION="2.2.6"
     2.6  CATEGORY="utilities"
     2.7 -SHORT_DESC="GNU Nano Text Editor."
     2.8 +SHORT_DESC="GNU Nano Text Editor"
     2.9  MAINTAINER="pankso@slitaz.org"
    2.10 +WEB_SITE="http://www.nano-editor.org/"
    2.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 -WEB_SITE="http://www.nano-editor.org/"
    2.13 -WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
    2.14 +WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
    2.15  TAGS="text-editor"
    2.16  HOST_ARCH="i486 arm"
    2.17  
    2.18 +TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
    2.19 +VERSION_NOTE="latest stable"
    2.20 +
    2.21  DEPENDS="ncursesw"
    2.22 +SUGGESTED="gpm"
    2.23  BUILD_DEPENDS="ncursesw-dev"
    2.24  
    2.25  export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
    2.26 @@ -19,19 +23,21 @@
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30 -    cd $src
    2.31 -    ./configure \
    2.32 -		--enable-all \
    2.33 -		--enable-extra \
    2.34 +	./configure \
    2.35 +		--sysconfdir=/etc \
    2.36 +		--localstatedir=/var \
    2.37  		--enable-utf8 \
    2.38  		$CONFIGURE_ARGS &&
    2.39 -    make && make install
    2.40 +	make &&
    2.41 +	make install
    2.42  }
    2.43  
    2.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.45  genpkg_rules()
    2.46  {
    2.47 -	mkdir -p $fs/usr/share $fs/etc
    2.48 +	mkdir -p \
    2.49 +		$fs/etc \
    2.50 +		$fs/usr/share
    2.51  	cp -a $install/usr/bin $fs/usr
    2.52  	cp -a $install/usr/share/nano $fs/usr/share
    2.53  	# Config file.
     3.1 --- a/nano/stuff/nano.desktop	Fri Apr 12 21:08:19 2013 +0200
     3.2 +++ b/nano/stuff/nano.desktop	Sat Apr 13 15:06:57 2013 +0000
     3.3 @@ -1,11 +1,12 @@
     3.4  [Desktop Entry]
     3.5 -Encoding=UTF-8
     3.6 -Name=Nano GNU Editor
     3.7 +Type=Application
     3.8 +Name=GNU Nano Text Editor
     3.9  Name[fr]=Editeur GNU Nano
    3.10 -Comment=Advenced text editor
    3.11 +Name[ru]=Текстовый редактор GNU Nano
    3.12 +Comment=Advanced text editor
    3.13  Comment[fr]=Editeur de texte avançé
    3.14 -Exec=xterm -e nano
    3.15 +Comment[ru]=Консольный текстовый редактор
    3.16 +Exec=/usr/bin/terminal -e nano
    3.17  Icon=nano
    3.18  Terminal=false
    3.19 -Type=Application
    3.20  Categories=Utility;TextEditor;
     4.1 Binary file nano/stuff/nano.png has changed