WIP for Wings3D and dependencies

* rebar fail to build. Someone with more Erlang knowledge should look
into it now.
This commit is contained in:
Adrien Destugues
2015-06-08 16:03:20 +02:00
parent fb27fa9e76
commit 2afb80baed
4 changed files with 148 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
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"
SRC_URI="https://github.com/rebar/rebar/archive/$portVersion.tar.gz"
SRC_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
}