wok-6.x rev 12810

readline: ARM want it :-) so we can cross compile bash
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 20 03:01:49 2012 +0200 (2012-05-20)
parents be4730f4e0c6
children fc477d1ae77b
files readline-dev/receipt readline/receipt
line diff
     1.1 --- a/readline-dev/receipt	Sat May 19 15:20:09 2012 +0200
     1.2 +++ b/readline-dev/receipt	Sun May 20 03:01:49 2012 +0200
     1.3 @@ -7,12 +7,13 @@
     1.4  MAINTAINER="pankso@slitaz.org"
     1.5  WANTED="readline"
     1.6  WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
    1.12  	mkdir -p $fs/usr/lib
    1.13 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.14 -	cp -a $_pkg/usr/include $fs/usr
    1.15 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.16 +	cp -a $install/usr/include $fs/usr
    1.17  }
    1.18  
     2.1 --- a/readline/receipt	Sat May 19 15:20:09 2012 +0200
     2.2 +++ b/readline/receipt	Sun May 20 03:01:49 2012 +0200
     2.3 @@ -8,25 +8,23 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
     2.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="ncurses"
    2.10 -BUILD_DEPENDS="ncurses-dev"
    2.11 +BUILD_DEPENDS="ncursesw-dev"
    2.12  
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
    2.16  	cd $src
    2.17  	./configure $CONFIGURE_ARGS &&
    2.18 -	make &&
    2.19 -
    2.20 -	# readline make install ignore DESTDIR environnment variable.
    2.21 -	make DESTDIR=$DESTDIR install
    2.22 +	make && make DESTDIR=$DESTDIR install
    2.23  }
    2.24  
    2.25  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.26  genpkg_rules()
    2.27  {
    2.28  	mkdir -p $fs/usr/lib
    2.29 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.31  }
    2.32