wok-6.x diff erlang/receipt @ rev 10356

gtk+: add gdk-pixbuf-dev in bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 22 22:58:23 2011 +0200 (2011-05-22)
parents 397676d92cdb
children ecc22c518136
line diff
     1.1 --- a/erlang/receipt	Thu Mar 17 11:20:04 2011 +0100
     1.2 +++ b/erlang/receipt	Sun May 22 22:58:23 2011 +0200
     1.3 @@ -27,13 +27,13 @@
     1.4  	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
     1.5  	make -j 1 &&
     1.6  	make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1
     1.7 -	for i in _pkg/usr/lib/erlang/*/bin/erl _pkg/usr/lib/erlang/bin/erl \
     1.8 -		 _pkg/usr/lib/erlang/*/bin/start _pkg/usr/lib/erlang/bin/start
     1.9 +	for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \
    1.10 +		 $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start
    1.11  	do
    1.12  		sed -i 's|^ROOTDIR=.*$|ROOTDIR=/usr/lib/erlang|' $i
    1.13  	done
    1.14 -	for i in _pkg/usr/bin/* ; do
    1.15 -		ln -sf $(readlink $i | sed 's|.*/_pkg||') $i
    1.16 +	for file in $(ls $DESTDIR/usr/bin); do
    1.17 +		ln -sf /usr/lib/erlang/bin/$file $DESTDIR/usr/bin/$file || return 1
    1.18  	done
    1.19  }
    1.20