wok-stable diff ncurses/receipt @ rev 8833
Fix: tazdev receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 24 16:18:46 2011 +0100 (2011-02-24) |
parents | 64cf592b6880 |
children | f4b5d278d27b |
line diff
1.1 --- a/ncurses/receipt Fri Feb 05 23:13:39 2010 +0100 1.2 +++ b/ncurses/receipt Thu Feb 24 16:18:46 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.