# HG changeset patch # User Antoine Bodin # Date 1296084050 -3600 # Node ID 86b10c2ec3e14d4217bcfa7b6669206c14dee4ec # Parent 7a07e54288a4759b9c7e80af2951f3e90af0212a imported patch toolchain/ncurses.patch diff -r 7a07e54288a4 -r 86b10c2ec3e1 ncurses/receipt --- a/ncurses/receipt Thu Jan 27 00:20:50 2011 +0100 +++ b/ncurses/receipt Thu Jan 27 00:20:50 2011 +0100 @@ -5,29 +5,34 @@ CATEGORY="base-system" SHORT_DESC="Library of functions to manage display on terminals." DEPENDS="ncurses-common" +BUILD_DEPENDS="gcc" MAINTAINER="pankso@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://invisible-island.net/ncurses/" WGET_URL="ftp://invisible-island.net/ncurses/$TARBALL" +# Rules to compile & install the temporary toolchain. +cook_tmp_toolchain() +{ + cd $src + ./configure --with-shared --without-debug \ + --without-ada --enable-overwrite && + make && make install +} + # Rules to configure and make the package. compile_rules() { - cd $src - sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ - include/Makefile.in - ./configure \ - --prefix=/usr \ + cd $src + sed -i 's|\tsh $(srcdir)/MKhashsize.sh|\tash $(srcdir)/MKhashsize.sh|' \ + include/Makefile.in + ./configure \ --libdir=/lib \ --sysconfdir=/etc \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ --with-shared \ --without-debug \ - --without-ada \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$PWD/_pkg install + --without-ada && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg.