mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 15:20:07 +02:00
62 lines
2.3 KiB
Plaintext
62 lines
2.3 KiB
Plaintext
DESCRIPTION="erlang"
|
|
HOMEPAGE="http://www.erlang.org"
|
|
SRC_URI="http://www.erlang.org/download/otp_src_R14B.tar.gz"
|
|
REVISION="1"
|
|
STATUS_HAIKU="broken"
|
|
DEPEND=""
|
|
CHECKSUM_MD5="5292a04556d17ad528d570e02357dfbb"
|
|
BUILD()
|
|
{
|
|
cd otp_src_R14B
|
|
mkdir -p m4
|
|
echo "AC_CONFIG_MACRO_DIR([m4]) >> configure.in"
|
|
echo "AC_CHECK_LIBM" >> configure.in
|
|
rm -f erts/autoconf/config.guess
|
|
rm -f erts/autoconf/config.sub
|
|
rm -f erts/autoconf/install-sh
|
|
rm -f erts/autoconf/ltmain.sh
|
|
cp -v /boot/common/share/libtool/config/config.guess erts/autoconf
|
|
cp -v /boot/common/share/libtool/config/config.sub erts/autoconf
|
|
cp -v /boot/common/share/libtool/config/install-sh erts/autoconf
|
|
cp -v /boot/common/share/libtool/config/ltmain.sh erts/autoconf
|
|
cp -v /boot/common/share/libtool/config/config.guess lib/common_test/priv/auxdir
|
|
cp -v /boot/common/share/libtool/config/config.sub lib/common_test/priv/auxdir
|
|
cp -v /boot/common/share/libtool/config/install-sh lib/common_test/priv/auxdir
|
|
cp -v /boot/common/share/libtool/config/ltmain.sh lib/common_test/priv/auxdir
|
|
cp -v /boot/common/share/libtool/config/config.guess lib/erl_interface/src/auxdir
|
|
cp -v /boot/common/share/libtool/config/config.sub lib/erl_interface/src/auxdir
|
|
cp -v /boot/common/share/libtool/config/install-sh lib/erl_interface/src/auxdir
|
|
cp -v /boot/common/share/libtool/config/ltmain.sh lib/erl_interface/src/auxdir
|
|
cp -v /boot/common/share/libtool/config/config.guess lib/test_server/src
|
|
cp -v /boot/common/share/libtool/config/config.sub lib/test_server/src
|
|
cp -v /boot/common/share/libtool/config/install-sh lib/test_server/src
|
|
cp -v /boot/common/share/libtool/config/ltmain.sh lib/test_server/src
|
|
cp -v /boot/common/share/aclocal/libtool.m4 m4
|
|
cp -v /boot/common/share/aclocal/ltoptions.m4 m4
|
|
cp -v /boot/common/share/aclocal/ltversion.m4 m4
|
|
cp -v /boot/common/share/aclocal/ltsugar.m4 m4
|
|
cp -v /boot/common/share/aclocal/lt~obsolete.m4 m4
|
|
rm -f aclocal.m4
|
|
# libtoolize --copy --force --install # this fails?! so have to delete and copy files in instead
|
|
cd lib/test_server/src
|
|
autoconf
|
|
cd ../../..
|
|
aclocal -I m4
|
|
autoconf
|
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
--with-ssl=`finddir B_COMMON_DIRECTORY` \
|
|
--disable-ipv6 \
|
|
--disable-hipe \
|
|
LDFLAGS="-lnetwork"
|
|
make -s
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd otp_src_R14B
|
|
make -s install
|
|
}
|
|
|
|
LICENSE="EPL v1.1"
|
|
COPYRIGHT="1997-2010 Ericsson AB"
|