Files
haikuports/dev-util/rebar/rebar-2.5.1.recipe
2015-07-02 11:13:12 -04:00

40 lines
1.0 KiB
Bash

SUMMARY="build tool that makes it easy to compile and test Erlang applications."
DESCRIPTION="rebar is an Erlang build tool that makes it easy to compile and \
test Erlang applications, port drivers and releases.
rebar is a self-contained Erlang script, so it's easy to distribute or even \
embed directly in a project. Where possible, rebar uses standard Erlang/OTP \
conventions for project structures, thus minimizing the amount of build \
configuration work. rebar also provides dependency management, enabling \
application writers to easily re-use common libraries from a variety of \
locations (git, hg, etc).
"
HOMEPAGE="https://github.com/rebar/rebar"
ARCHITECTURES="!x86_gcc2"
LICENSE="Apache v2"
REVISION="1"
COPYRIGHT="2011 Joe Williams"
SOURCE_URI="https://github.com/rebar/rebar/archive/$portVersion.tar.gz"
SOURCE_FILENAME="rebar-$portVersion.tar.gz"
PROVIDES="
rebar = $portVersion
cmd:rebar
"
BUILD_PREREQUIRES="
cmd:escript
"
BUILD()
{
export HOME=erlang_needs_this
escript bootstrap
}
INSTALL()
{
make install
}