summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lang/terra/Manifest4
-rw-r--r--dev-lang/terra/metadata.xml11
-rw-r--r--dev-lang/terra/terra-2016.03.25.ebuild35
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-lang/terra/Manifest b/dev-lang/terra/Manifest
new file mode 100644
index 0000000..6060504
--- /dev/null
+++ b/dev-lang/terra/Manifest
@@ -0,0 +1,4 @@
+DIST LuaJIT-2.0.4.tar.gz 847615 SHA256 620fa4eb12375021bef6e4f237cbd2dd5d49e56beb414bee052c746beef1807d SHA512 a72957bd85d8f457269e78bf08c19b28c5707df5d19920d61918f8a6913f55913ce13037fb9a6463c04cefde0c6644739f390e09d656e4bbc2c236927aa3f8f9 WHIRLPOOL 0d2b7d3dbede1e42afd820fb8b327f643282efd1549ae7288da82ed157ef34ac2ec6bee481ae3d02abdebb6528e42c12c4d6fa8e26774f1b59e17d3998e9f4c2
+DIST terra-2016.03.25.tar.gz 334636 SHA256 d580f8d6ccf1f7982a12e9571b95919dfac109fbd48631401f028e4366e9453d SHA512 ac523bbd764881f8158378f7ac82eda668e3b0b564679ae02d41dea4d6b37b26cc36af9a06b923d399340493964f0c301c196a56995420e49bc0bf2050f51851 WHIRLPOOL e8347f69e949833a9078cae56f34b3b48702bbe06e2cf0edc2c2b976648b40b9e6f2394bdb75cc19343ff7fb1d48377210f3fde9e2481f0653fd39494b20d001
+EBUILD terra-2016.03.25.ebuild 727 SHA256 05e48bd32a8a26af0291cf458c531f5511aa5781f3c1769c457881c953cc2107 SHA512 3bd314322ce44c1dcc110a8c165fdae71e8c2b3235dffe40ebb438f841f1b5be343fa74927021d7502c68e2c6508f2beff1f4c095294249bee1d5e281d71f913 WHIRLPOOL 392d975136759ddf52f96570954bbd259e3bc5d5308bdf9bf3846c8ddcbea53c994fa56925baab08ac07469e8701f3b405db3f88f9c58f13f1f83d0a2afeb40e
+MISC metadata.xml 423 SHA256 c2d1c064eff1094f7d6c497d0e0127ad52ae35ab8a6cf856ac008e9bdc6d1632 SHA512 701ebe05bea678b5b34fc4c87bdc5dcc87c58411bce96c6f0fb1dacf7f29c6cfbcb9436abbe5abcbbbe636dfb71de032836c3692a0ff55e136746d7443bcf956 WHIRLPOOL 25b1efd85cd953cd1426de5fea5cfae45a09fcfce50b53da62a2399768ff8cebe2dd940eec702e3fcd5948657f22007b29ef8a7855be5dc36cbda7eee4e509cf
diff --git a/dev-lang/terra/metadata.xml b/dev-lang/terra/metadata.xml
new file mode 100644
index 0000000..7da3c11
--- /dev/null
+++ b/dev-lang/terra/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>johnmh@openblox.org</email>
+ <name>John M. Harris</name>
+ </maintainer>
+ <longdescription lang="en">
+ Terra is a low-level system programming language that is embedded in and meta-programmed by the Lua programming language.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-lang/terra/terra-2016.03.25.ebuild b/dev-lang/terra/terra-2016.03.25.ebuild
new file mode 100644
index 0000000..85d3257
--- /dev/null
+++ b/dev-lang/terra/terra-2016.03.25.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="A low-level counterpart to Lua"
+HOMEPAGE="http://terralang.org/"
+LUAJIT="LuaJIT-2.0.4.tar.gz"
+SRC_URI="https://github.com/zdevito/terra/archive/release-${PV//./-}.tar.gz -> ${P}.tar.gz
+ http://luajit.org/download/${LUAJIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="sys-devel/clang
+ dev-lang/luajit:2"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ mv "${PN}"-* "${S}" || die
+ ln -s "${DISTDIR}/${LUAJIT}" "${S}/build" || die
+}
+
+src_install() {
+ cd release || die
+ dobin terra
+ dolib.so libterra.so
+ dodoc README.md
+ cd include || die
+ doheader terra.h *.t
+} \ No newline at end of file