wok-6.x diff cdrdao/receipt @ rev 4884

Add ncursesw (UTF-8 support for curses libs) and modify ncurses pkg
author Christophe Lincoln <pankso@slitaz.org>
date Fri Feb 05 23:13:39 2010 +0100 (2010-02-05)
parents a120bd16ac79
children 964f5d384827
line diff
     1.1 --- a/cdrdao/receipt	Fri Apr 24 07:25:20 2009 +0000
     1.2 +++ b/cdrdao/receipt	Fri Feb 05 23:13:39 2010 +0100
     1.3 @@ -15,8 +15,15 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 -	./configure --prefix=/usr --with-lame
     1.8 -	make
     1.9 +	for i in trackdb/*.cc ; do
    1.10 +		grep -q string.h $i && continue
    1.11 +		grep -q util.h $i || continue
    1.12 +		sed -i 's/"util.h"/&\n#include <string.h>/' $i
    1.13 +	done
    1.14 +	find -name '*.c' | xargs sed -i -e 's/getline/get_line/' \
    1.15 +		-e 's/fexecve/fexec_ve/' scsilib/include/schily.h
    1.16 +	./configure --prefix=/usr --with-lame &&
    1.17 +	make &&
    1.18  	make DESTDIR=$PWD/_pkg install
    1.19  }
    1.20