commit: d2d580c650c8da629fc8e4629e8de81d1c6ca3fb
parent: 8476cd2e8a144a0cd79b86b9f1c1879d3f938f71
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 10 Mar 2018 00:23:38 +0100
dev-cpp/luabind: Import from ::gamerlay
Diffstat:
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/dev-cpp/luabind/Manifest b/dev-cpp/luabind/Manifest
@@ -0,0 +1 @@
+DIST luabind-0.9.tar.gz 190049 SHA256 44faa87e1af52bb46e78735341171c9dcc1389de72c0f412274301c1b638424e SHA512 5767158c5b1171dc6ef0ea8794f9a57efb682b5d63223e287d68964d874c68179e1400116dceaef365a72aa5d4fc7cb03d8b07dfd034040da2dc8cdae27b0dba WHIRLPOOL 93842e6537d34fde67dc75dba3f04ddc2f01b10eead2b0e57d6275ea56d6b4884411dbd1a1403983406c7b34b89a44b2feb2cc31d45a00515c898a58a25ea2e9
diff --git a/dev-cpp/luabind/luabind-0.9.ebuild b/dev-cpp/luabind/luabind-0.9.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+DESCRIPTION="creates bindings for lua on c++"
+HOMEPAGE="http://www.rasterbar.com/products/luabind.html"
+SRC_URI="mirror://sourceforge/luabind/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+#there is no way to find out which bjam is installed, so i use 1.42 for now, ugly hack
+#also doc is missing
+#and i dont know an option to nostrip with bjam
+
+DEPEND="dev-lang/lua"
+RDEPEND="
+ dev-util/boost-build:1.42
+ ${DEPEND}"
+
+src_compile() {
+ bjam-1_42 release --prefix="${D}/usr/" link=shared toolset=gcc || die "compile failed"
+}
+
+src_install() {
+ bjam-1_42 release --prefix="${D}/usr/" link=shared toolset=gcc install || die "install failed"
+}