wok-next rev 8211
imported patch toolchain/readline.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | 991d3347db89 |
children | 49237253b927 |
files | readline/receipt |
line diff
1.1 --- a/readline/receipt Thu Jan 27 00:20:50 2011 +0100 1.2 +++ b/readline/receipt Thu Jan 27 00:20:50 2011 +0100 1.3 @@ -5,6 +5,8 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="GNU readline." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 +DEPENDS="ncurses" 1.8 +BUILD_DEPENDS="ncurses" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" 1.11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.12 @@ -13,13 +15,11 @@ 1.13 compile_rules() 1.14 { 1.15 cd $src 1.16 - ./configure \ 1.17 - --prefix=/usr \ 1.18 - --infodir=/usr/share/info \ 1.19 - --mandir=/usr/share/man \ 1.20 - $CONFIGURE_ARGS && 1.21 + ./configure && 1.22 make && 1.23 - make DESTDIR=$PWD/_pkg install 1.24 + 1.25 + # readline make install ignore DESTDIR environnment variable. 1.26 + make DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 # Rules to gen a SliTaz package suitable for Tazpkg.