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
}

View File

@@ -0,0 +1,38 @@
This software is copyrighted by Bjorn Gustavsson, and other parties.
The following terms apply to all files associated with the software unless
explicitly disclaimed in individual files.
The authors hereby grant permission to use, copy, modify, distribute,
and license this software and its documentation for any purpose, provided
that existing copyright notices are retained in all copies and that this
notice is included verbatim in any distributions. No written agreement,
license, or royalty fee is required for any of the authorized uses.
Modifications to this software may be copyrighted by their authors
and need not follow the licensing terms described here, provided that
the new terms are clearly indicated on the first page of each file where
they apply.
IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE
IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
MODIFICATIONS.
GOVERNMENT USE: If you are acquiring this software on behalf of the
U.S. government, the Government shall have only "Restricted Rights"
in the software and related documentation as defined in the Federal
Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you
are acquiring the software on behalf of the Department of Defense, the
software shall be classified as "Commercial Computer Software" and the
Government shall have only "Restricted Rights" as defined in Clause
252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the
authors grant the U.S. Government and others acting in its behalf
permission to use and distribute the software in accordance with the
terms specified in this license.

View File

@@ -0,0 +1,42 @@
SUMMARY="Polygon modeler"
DESCRIPTION="Wings 3D is an advanced subdivision modeler that is both powerful \
and easy to use.
Originally inspired by Nendo and Mirai from Izware, Wings 3D has been \
developed since 2001, when Björn Gustavsson (bjorng) and Dan Gudmundsson \
(dgud) first started the project. Richard Jones (optigon) maintained Wings and \
coded many new features between 2006 and 2011. Wings 3D is currently \
maintained by Dan and Richard with the help of the great community.
Wings 3D offers a wide range of modeling tools, a customizable interface, \
support for lights and materials, and a built-in AutoUV mapping facility.
There is no support in Wings for animation."
LICENSE="wings"
COPYRIGHT="Bjorn Gustavsson, and other parties"
REVISION="1"
ARCHITECTURES="?x86_gcc2"
HOMEPAGE="http://www.wings3d.com/"
SRC_URI="https://sourceforge.net/projects/wings/files/wings/$portVersion/wings-$portVersion.tar.bz2"
CHECKSUM_SHA256="c08060016f83679ce08947942d31af0e3b5d105525d0df5e993ec6f1a81fdd8e"
PROVIDES="
wings
"
BUILD_PREREQUIRES="
cmd:erlc
cmd:make
"
BUILD()
{
export HOME=erlang_needs_this
make $jobArgs
}
INSTALL()
{
make install
}

View File

@@ -0,0 +1,29 @@
SUMMARY="Erlang bindings for SDL"
DESCRIPTION="Allows to use SDL (and OpenGL) with the Erlang programming \
language."
LICENSE="BSD (3-clause)"
REVISION="1"
ARCHITECTURES="?x86_gcc2"
HOMEPAGE="https://sourceforge.net/projects/esdl/"
COPYRIGHT="Dan Gundmundsson, and other parties"
SRC_URI="http://sourceforge.net/projects/esdl/files/esdl/esdl-$portVersion/esdl-$portVersion.src.tgz"
CHECKSUM_SHA256="01789310d6fd9a4149fc9ddb16fa97ed2c03bbb2d52aa174561800934269aa38"
PROVIDES="
esdl = $portVersion
"
BUILD_PREREQUIRES="
cmd:rebar
"
BUILD()
{
rebar compile
}
INSTALL()
{
rebar install
}