Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
thx to @zdevito for the nice intro to it

Package-Manager: portage-2.2.18
  • Loading branch information
junghans committed Apr 24, 2015
1 parent 684348c commit b35c23f
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dev-lang/terra/ChangeLog
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ChangeLog for dev-lang/terra
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $

*terra-2015.03.12 (24 Apr 2015)

24 Apr 2015; Christoph Junghans <ottxor@gentoo.org> +metadata.xml,
+terra-2015.03.12.ebuild:
initial commit thx to @zdevito for the nice intro to it
2 changes: 2 additions & 0 deletions dev-lang/terra/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DIST LuaJIT-2.0.3.tar.gz 844927 SHA256 55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79 SHA512 7b3e3de22ac3602299b5918b60801e45a3278e547a15c16fdae7359538d4ada27ba664935d5f97c7409f330c2f8efeaae9ea03415f5e9d5a9d81e022cd5d36e0 WHIRLPOOL 1ba759b85048cfd57ebc02cfce477e9ddb327e7d27acd78f93fb2debfbf010a96e7b127324ebf6b81b1f35132f5a0a3a56ffca64fe0e66cba80c28b1cb49b433
DIST terra-2015.03.12.tar.gz 303867 SHA256 4dfa9166ddee946ad24009ed2da0146be5d588cb2c964cae53116793e7227f34 SHA512 abda5cf8126e12ce199c3f8bde8a2fca0e7f7b5bf5f5048a97e3b3b827c83cd8140fb0fba803e116c55cb27a4cda1d13c8695a5cfe95f2383eb2f4515795aa09 WHIRLPOOL 58c9843d6a8f1dc35f0f9bcceea2d017b168bd85b0f743f144dbd825fd6eb46de67f7a5a5cd831fa031e884ce723c046d85f8ada8ba8102f313410c78aec5762
8 changes: 8 additions & 0 deletions dev-lang/terra/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer>
<email>ottxor@gentoo.org</email>
<name>Christoph Junghans</name>
</maintainer>
</pkgmetadata>
36 changes: 36 additions & 0 deletions dev-lang/terra/terra-2015.03.12.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="A low-level counterpart to Lua"
HOMEPAGE="http://terralang.org/"
#cannot be unbundled easily, because needs to compiled with clang
LUAJIT="LuaJIT-2.0.3.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
}

0 comments on commit b35c23f

Please sign in to comment.