wok-current rev 5151
vlc, wesnoth: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:50:23 2010 +0100 (2010-03-24) |
parents | 8290ff5b0d6b |
children | cc8f43729bb0 |
files | vlc/receipt wesnoth/receipt |
line diff
1.1 --- a/vlc/receipt Wed Mar 24 08:33:13 2010 +0100 1.2 +++ b/vlc/receipt Wed Mar 24 08:50:23 2010 +0100 1.3 @@ -23,6 +23,8 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + # Be busybox comptible... 1.8 + sed -i 's/wc -m/wc -c/' configure* 1.9 sed -i 's/ImgReSampleContext/void/' modules/video_filter/imgresample.c 1.10 sed -i -e 's:/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf:/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf:' modules/misc/freetype.c 1.11 ./configure --prefix=/usr --enable-hal --enable-dbus \
2.1 --- a/wesnoth/receipt Wed Mar 24 08:33:13 2010 +0100 2.2 +++ b/wesnoth/receipt Wed Mar 24 08:50:23 2010 +0100 2.3 @@ -21,6 +21,7 @@ 2.4 ./configure --prefix=/usr $CONFIGURE_ARGS 2.5 sed -i -e 's/CFLAGS = -O2/CFLAGS = -fno-strict-aliasing -O2/' \ 2.6 -e 's/CXXFLAGS = -O2/CXXFLAGS = -fno-strict-aliasing -O2/' \ 2.7 + -e 's| -o -wholename "data/test/*"||' \ 2.8 Makefile src/Makefile 2.9 make && make DESTDIR=$PWD/_pkg install 2.10 }