wok-6.x diff cgdb/receipt @ rev 10772

Trying to make a tazdev-like receip with source from slitaz-dev-tools, in order to get yaff cooked properly
author Babaorum
date Tue May 31 21:49:58 2011 +0100 (2011-05-31)
parents f12f31c20a9f
children eb8067417980
line diff
     1.1 --- a/cgdb/receipt	Sat May 21 18:26:24 2011 +0000
     1.2 +++ b/cgdb/receipt	Tue May 31 21:49:58 2011 +0100
     1.3 @@ -9,6 +9,7 @@
     1.4  WEB_SITE="http://cgdb.sourceforge.net/"
     1.5  WGET_URL="http://prdownloads.sourceforge.net/cgdb/$TARBALL"
     1.6  TAGS="debugger"
     1.7 +CROSS="error: cannot check for file existence when cross compiling"
     1.8  
     1.9  DEPENDS="gdb ncurses readline"
    1.10  BUILD_DEPENDS="ncurses-dev readline-dev"
    1.11 @@ -16,7 +17,9 @@
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	./configure $CONFIGURE_ARGS && 
    1.16 +	./configure \
    1.17 +		--build=$HOST_SYSTEM \
    1.18 +		--host=$HOST_SYSTEM && 
    1.19  	make && make install
    1.20  }
    1.21