erlang-otp _unstable_ port information

Info2: <<
Package: erlang-otp

Version: 12b-5
License: OSI-Approved
Revision: 1
Description: General-purpose programming language
Maintainer: None

Depends: <<
libncurses5-shlibs, gd2-shlibs, unixodbc2-shlibs | unixodbc2-nox-shlibs
<<
BuildDepends: <<
libncurses5, gd2 | gd2-nox, unixodbc2 | unixodbc2-nox, fink (>= 0.24.12-1)
<<

Source: http://www.erlang.org/download/otp_src_R12B-5.tar.gz
Source-MD5: 3751ea3fea669d2b25c67eeb883734bb
Source2: http://www.erlang.org/download/otp_doc_man_R12B-5.tar.gz
Source2-MD5: 6231cb172847040395cc34b20781aa3b
Source2ExtractDir: docs-man
Source3: http://www.erlang.org/download/otp_doc_html_R12B-5.tar.gz
Source3-MD5: fb0c5454bbd865e881b6712295f6d41f
Source3ExtractDir: docs-html

PatchFile: %n.patch
PatchFile-MD5: cee6dbc8f4b7da5efc17adc3ffa51588

DocFiles: README EPLICENCE
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
UseMaxBuildJobs: false

ConfigureParams: --with-odbc=%p --with-gd=%p

InstallScript: <<
#!/bin/sh -ev

# Determine ERTS version
ertsver=`cat %b/Makefile | grep "ERTS =" | cut -f2 -d'-'`

# Install
make install prefix=%i

# Fix symlinks
rm -f %i/bin/dialyzer %i/bin/epmd %i/bin/erl %i/bin/erlc %i/bin/escript %i/bin/run_erl %i/bin/to_erl %i/bin/typer %i/lib/erlang/bin/epmd

ln -s %p/lib/erlang/bin/dialyzer %i/bin/dialyzer
ln -s %p/lib/erlang/erts-${ertsver}/bin/epmd %i/lib/erlang/bin/epmd
ln -s %p/lib/erlang/bin/epmd %i/bin/epmd
ln -s %p/lib/erlang/bin/erl %i/bin/erl
ln -s %p/lib/erlang/bin/erlc %i/bin/erlc
ln -s %p/lib/erlang/bin/escript %i/bin/escript
ln -s %p/lib/erlang/bin/run_erl %i/bin/run_erl
ln -s %p/lib/erlang/bin/to_erl %i/bin/to_erl
ln -s %p/lib/erlang/bin/typer %i/bin/typer

# Fix paths in scripts
perl -i -pe "s:%d::g" \
%i/lib/erlang/bin/erl \
%i/lib/erlang/bin/start \
%i/lib/erlang/erts-${ertsver}/bin/erl \
%i/lib/erlang/erts-${ertsver}/bin/start \
%i/lib/erlang/releases/RELEASES

# Move documentation to erlang-aware location
mv %b/../docs-man/* %i/lib/erlang/

# Copy over html documentation
mkdir -p %i/share/doc/erlang-otp/html
mv %b/../docs-html/* %i/share/doc/erlang-otp/html/
<<

DescDetail: <<
Erlang is a general-purpose programming language and runtime environment.
Erlang has built-in support for concurrency, distribution and fault
tolerance. Erlang is used in several large telecommunication systems
from Ericsson. The most popular implementation of Erlang is available as
open source from the open source erlang site.
<<

DescPackaging: <<
AKH: Commentary on upstream blog site said that this packaging avoided
pcre, so I'm assuming the NoSet*FLAGS is for that.

Maintainer (> 10b-10-1) && (<= 12b-0-1): Aleix Conchillo Flaque

Maintainer (<= 10b-10-1): Daniel Henninger
<<

Homepage: http://www.erlang.org/

<<