wok-next rev 10656

erlang: clean receipt and fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 06:25:19 2011 +0200 (2011-05-27)
parents 4ae2b0a61e64
children 4bf96e2f81cb
files erlang/receipt
line diff
     1.1 --- a/erlang/receipt	Fri May 27 06:01:54 2011 +0200
     1.2 +++ b/erlang/receipt	Fri May 27 06:25:19 2011 +0200
     1.3 @@ -9,24 +9,32 @@
     1.4  TARBALL="${SOURCE}_$VERSION.tar.gz"
     1.5  WEB_SITE="http://$PACKAGE.org/"
     1.6  WGET_URL="${WEB_SITE}download/$TARBALL"
     1.7 -DEPENDS="ncurses libunixODBC"
     1.8 -BUILD_DEPENDS="perl ncurses-dev openssl openssl-dev xorg-dev flex m4 java-jdk"
     1.9 +
    1.10 +DEPENDS="ncurses openssl libunixODBC"
    1.11 +BUILD_DEPENDS="perl ncurses-dev openssl-dev libunixODBC-dev icedtea6-jdk"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	patch=${SOURCE}_${VERSION}_OTP-7738.patch
    1.17 +	export LANG=C
    1.18 +	
    1.19  	cd $src
    1.20  	if [ ! -f done.$patch ]; then
    1.21  		patch -p1 < $stuff/$patch || return 1
    1.22  		touch done.$patch
    1.23  	fi
    1.24 -	export LANG=C
    1.25  	sed -i 's|./Install|sh -x Install|' Makefile*
    1.26 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.27 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.28 +	
    1.29 +	./configure \
    1.30 +		--prefix=/usr \
    1.31 +		--sysconfdir=/etc \
    1.32 +		--mandir=/usr/share/man \
    1.33 +		--infodir=/usr/share/info \
    1.34 +		$CONFIGURE_ARGS &&
    1.35  	make -j 1 &&
    1.36  	make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1
    1.37 +	
    1.38  	for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \
    1.39  		 $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start
    1.40  	do
    1.41 @@ -42,4 +50,3 @@
    1.42  {
    1.43  	cp -a $_pkg/usr $fs
    1.44  }
    1.45 -