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

Up: thunderbird-langpack-zh_CN (17.0.8esr)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 22:21:17 2013 +0200 (2013-08-08)
parents 05a0ed0c2af0
children 2b9f96603415
line diff
     1.1 --- a/nano/receipt	Tue May 22 19:25:39 2012 +0200
     1.2 +++ b/nano/receipt	Thu Aug 08 22:21:17 2013 +0200
     1.3 @@ -3,15 +3,19 @@
     1.4  PACKAGE="nano"
     1.5  VERSION="2.2.6"
     1.6  CATEGORY="utilities"
     1.7 -SHORT_DESC="GNU Nano Text Editor."
     1.8 +SHORT_DESC="GNU Nano Text Editor"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10 +WEB_SITE="http://www.nano-editor.org/"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 -WEB_SITE="http://www.nano-editor.org/"
    1.13 -WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
    1.14 +WGET_URL="${WEB_SITE}dist/v2.2/$TARBALL"
    1.15  TAGS="text-editor"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 +TRACKER="http://sourcewell.berlios.de/appbyid.php?id=1733"
    1.19 +VERSION_NOTE="latest stable"
    1.20 +
    1.21  DEPENDS="ncursesw"
    1.22 +SUGGESTED="gpm"
    1.23  BUILD_DEPENDS="ncursesw-dev"
    1.24  
    1.25  export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib"
    1.26 @@ -19,19 +23,21 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -    cd $src
    1.31 -    ./configure \
    1.32 -		--enable-all \
    1.33 -		--enable-extra \
    1.34 +	./configure \
    1.35 +		--sysconfdir=/etc \
    1.36 +		--localstatedir=/var \
    1.37  		--enable-utf8 \
    1.38  		$CONFIGURE_ARGS &&
    1.39 -    make && make install
    1.40 +	make &&
    1.41 +	make install
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	mkdir -p $fs/usr/share $fs/etc
    1.48 +	mkdir -p \
    1.49 +		$fs/etc \
    1.50 +		$fs/usr/share
    1.51  	cp -a $install/usr/bin $fs/usr
    1.52  	cp -a $install/usr/share/nano $fs/usr/share
    1.53  	# Config file.