wok-next rev 8203

imported patch toolchain/ncurses.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 7a07e54288a4
children 17aa0097824c
files ncurses/receipt
line diff
     1.1 --- a/ncurses/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.2 +++ b/ncurses/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -5,29 +5,34 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="Library of functions to manage display on terminals."
     1.6  DEPENDS="ncurses-common"
     1.7 +BUILD_DEPENDS="gcc"
     1.8  MAINTAINER="pankso@slitaz.org"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://invisible-island.net/ncurses/"
    1.11  WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL"
    1.12  
    1.13 +# Rules to compile & install the temporary toolchain.
    1.14 +cook_tmp_toolchain()
    1.15 +{
    1.16 +	cd $src
    1.17 +	./configure --with-shared --without-debug \
    1.18 +		--without-ada --enable-overwrite &&
    1.19 +	make && make install
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25 -    cd $src
    1.26 -    sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.27 -    	include/Makefile.in
    1.28 -    ./configure \
    1.29 -		--prefix=/usr \
    1.30 +	cd $src
    1.31 +	sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \
    1.32 +		include/Makefile.in
    1.33 +	./configure \
    1.34  		--libdir=/lib \
    1.35  		--sysconfdir=/etc \
    1.36 -		--infodir=/usr/share/info \
    1.37 -		--mandir=/usr/share/man \
    1.38  		--with-shared \
    1.39  		--without-debug \
    1.40 -		--without-ada \
    1.41 -    $CONFIGURE_ARGS &&
    1.42 -    make &&
    1.43 -    make DESTDIR=$PWD/_pkg install
    1.44 +		--without-ada &&
    1.45 +	make && make install
    1.46  }
    1.47  
    1.48  # Rules to gen a SliTaz package suitable for Tazpkg.