wok diff nano/receipt @ rev 11497

Fix: prboom build
author Alexander Medvedev <devl547@gmail.com>
date Mon Dec 19 23:40:08 2011 +0400 (2011-12-19)
parents 172046663dc8
children 05a0ed0c2af0
line diff
     1.1 --- a/nano/receipt	Tue Nov 23 01:28:13 2010 +0000
     1.2 +++ b/nano/receipt	Mon Dec 19 23:40:08 2011 +0400
     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  }