wok rev 1540

wormux: hack compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 10 14:12:27 2008 +0000 (2008-10-10)
parents a534ac8b5c06
children 7ae8a3f4e6a0
files wormux/receipt
line diff
     1.1 --- a/wormux/receipt	Fri Oct 10 09:06:29 2008 +0000
     1.2 +++ b/wormux/receipt	Fri Oct 10 14:12:27 2008 +0000
     1.3 @@ -21,6 +21,9 @@
     1.4  		Makefile
     1.5  	sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/'\
     1.6  		 data/Makefile.in
     1.7 +	sed -i 's|if USE_X11|if SKIP_USE_X11|' src/tool/copynpaste.cpp
     1.8 +	sed -i "s|test -d \"\\\$(pkgdatadir|test -d \"\\\$(DESTDIR)\\\$(pkgdatadir|" data/Makefile*
     1.9 +	mkdir -p _pkg/usr/share/wormux
    1.10  	./configure \
    1.11  		--prefix=/usr \
    1.12  		--bindir=/usr/games \