wok diff erlang/receipt @ rev 2137

erlang: fix paths (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 03 15:49:39 2009 +0000 (2009-02-03)
parents 315bb0da905d
children 6e90579538d6
line diff
     1.1 --- a/erlang/receipt	Tue Feb 03 12:05:12 2009 +0000
     1.2 +++ b/erlang/receipt	Tue Feb 03 15:49:39 2009 +0000
     1.3 @@ -10,7 +10,7 @@
     1.4  WEB_SITE="http://$PACKAGE.org/"
     1.5  WGET_URL="${WEB_SITE}download/$TARBALL"
     1.6  DEPENDS="ncurses"
     1.7 -BUILD_DEPENDS="perl ncurses-dev openssl-dev xorg-dev flex"
     1.8 +BUILD_DEPENDS="perl ncurses-dev openssl-dev xorg-dev flex m4"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12 @@ -24,13 +24,14 @@
    1.13  		patch -p1 < $patch
    1.14  	fi
    1.15  	export LANG=C
    1.16 -	sed -i 's|./Install|sh -x ./Install|' Makefile*
    1.17 +	sed -i 's|./Install|sh -x Install|' Makefile*
    1.18  	./configure --prefix=/usr --infodir=/usr/share/info \
    1.19  	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.20  	make &&
    1.21  	make INSTALL_PREFIX=$PWD/_pkg install || return 1
    1.22 -	for i in _pkg/usr/lib/erlang/erts-*/bin/erl \
    1.23 -		 _pkg/usr/lib/erlang/erts-*/bin/start ; do
    1.24 +	for i in _pkg/usr/lib/erlang/*/bin/erl _pkg/usr/lib/erlang/bin/erl \
    1.25 +		 _pkg/usr/lib/erlang/*/bin/start _pkg/usr/lib/erlang/bin/start
    1.26 +	do
    1.27  		sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i
    1.28  	done
    1.29  	for i in _pkg/usr/bin/* ; do