# HG changeset patch # User Christophe Lincoln # Date 1306470319 -7200 # Node ID ecc22c518136afd39377c78eabb343d96c556681 # Parent 4ae2b0a61e6442e77515483a46c00330e4c3bd9e erlang: clean receipt and fix bdeps diff -r 4ae2b0a61e64 -r ecc22c518136 erlang/receipt --- a/erlang/receipt Fri May 27 06:01:54 2011 +0200 +++ b/erlang/receipt Fri May 27 06:25:19 2011 +0200 @@ -9,24 +9,32 @@ TARBALL="${SOURCE}_$VERSION.tar.gz" WEB_SITE="http://$PACKAGE.org/" WGET_URL="${WEB_SITE}download/$TARBALL" -DEPENDS="ncurses libunixODBC" -BUILD_DEPENDS="perl ncurses-dev openssl openssl-dev xorg-dev flex m4 java-jdk" + +DEPENDS="ncurses openssl libunixODBC" +BUILD_DEPENDS="perl ncurses-dev openssl-dev libunixODBC-dev icedtea6-jdk" # Rules to configure and make the package. compile_rules() { patch=${SOURCE}_${VERSION}_OTP-7738.patch + export LANG=C + cd $src if [ ! -f done.$patch ]; then patch -p1 < $stuff/$patch || return 1 touch done.$patch fi - export LANG=C sed -i 's|./Install|sh -x Install|' Makefile* - ./configure --prefix=/usr --infodir=/usr/share/info \ - --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + $CONFIGURE_ARGS && make -j 1 && make -j 1 INSTALL_PREFIX=$DESTDIR install || return 1 + for i in $DESTDIR/usr/lib/erlang/*/bin/erl $DESTDIR/usr/lib/erlang/bin/erl \ $DESTDIR/usr/lib/erlang/*/bin/start $DESTDIR/usr/lib/erlang/bin/start do @@ -42,4 +50,3 @@ { cp -a $_pkg/usr $fs } -