wok rev 9675

nano: clean-up receipt
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 04 20:15:33 2011 +0200 (2011-05-04)
parents 1f1bb923a199
children 22939da9bd99
files nano/receipt tazdev/receipt
line diff
     1.1 --- a/nano/receipt	Tue May 03 04:53:22 2011 +0000
     1.2 +++ b/nano/receipt	Wed May 04 20:15:33 2011 +0200
     1.3 @@ -5,36 +5,32 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="GNU Nano Text Editor."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 +WEB_SITE="http://www.nano-editor.org/"
     1.9 +WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL"
    1.10 +TAGS="text-editor"
    1.11 +
    1.12  DEPENDS="ncursesw"
    1.13  BUILD_DEPENDS="ncursesw-dev"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WEB_SITE="http://www.nano-editor.org/"
    1.16 -WGET_URL="http://www.nano-editor.org/dist/v2.2/$TARBALL"
    1.17 -TAGS="text-editor"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22      cd $src
    1.23      ./configure \
    1.24 -		--prefix=/usr \
    1.25 -		--infodir=/usr/share/info \
    1.26 -		--mandir=/usr/share/man \
    1.27 -		--sysconfdir=/etc \
    1.28  		--enable-all \
    1.29  		--enable-extra \
    1.30  		--enable-utf8 \
    1.31  		$CONFIGURE_ARGS &&
    1.32 -    make &&
    1.33 -    make DESTDIR=$PWD/_pkg install
    1.34 +    make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40  	mkdir -p $fs/usr/share $fs/etc
    1.41 -    cp -a $_pkg/usr/bin $fs/usr
    1.42 -    cp -a $_pkg/usr/share/nano $fs/usr/share
    1.43 -    # Config file.
    1.44 -    cp stuff/nanorc $fs/etc
    1.45 +	cp -a $_pkg/usr/bin $fs/usr
    1.46 +	cp -a $_pkg/usr/share/nano $fs/usr/share
    1.47 +	# Config file.
    1.48 +	cp $stuff/nanorc $fs/etc
    1.49  }
     2.1 --- a/tazdev/receipt	Tue May 03 04:53:22 2011 +0000
     2.2 +++ b/tazdev/receipt	Wed May 04 20:15:33 2011 +0200
     2.3 @@ -8,7 +8,8 @@
     2.4  DEPENDS="rsync"
     2.5  BUILD_DEPENDS="mercurial"
     2.6  SOURCE="slitaz-dev-tools"
     2.7 -WGET_URL="mercurial|http://hg.slitaz.org/slitaz-dev-tools"
     2.8 +WGET_URL="hg|http://hg.slitaz.org/slitaz-dev-tools"
     2.9 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.10  BRANCH="$VERSION"
    2.11  WEB_SITE="http://www.slitaz.org/"
    2.12