summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-05-02 21:56:13 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-05-02 21:56:13 +0000
commit3d4ebcc80fe3ff1bb4bea3070ff6c63c1864853e (patch)
treecf8c6ed3922d2e469d0c1f5dd519a06dc0b61a7e /dev-cpp
parentapp-portage/elogv: Fix crash with TERM=vt100 (bug #467792) (diff)
downloadgentoo-2-3d4ebcc80fe3ff1bb4bea3070ff6c63c1864853e.tar.gz
gentoo-2-3d4ebcc80fe3ff1bb4bea3070ff6c63c1864853e.tar.bz2
gentoo-2-3d4ebcc80fe3ff1bb4bea3070ff6c63c1864853e.zip
initial import
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/luabind/ChangeLog10
-rw-r--r--dev-cpp/luabind/Manifest5
-rw-r--r--dev-cpp/luabind/files/luabind-0.9.1-boost.patch59
-rw-r--r--dev-cpp/luabind/luabind-0.9.1.ebuild52
-rw-r--r--dev-cpp/luabind/metadata.xml9
5 files changed, 135 insertions, 0 deletions
diff --git a/dev-cpp/luabind/ChangeLog b/dev-cpp/luabind/ChangeLog
new file mode 100644
index 000000000000..0ff763fb0c5d
--- /dev/null
+++ b/dev-cpp/luabind/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-cpp/luabind
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/luabind/ChangeLog,v 1.1 2013/05/02 21:56:13 hasufell Exp $
+
+*luabind-0.9.1 (02 May 2013)
+
+ 02 May 2013; Julian Ospald <hasufell@gentoo.org> +luabind-0.9.1.ebuild,
+ +files/luabind-0.9.1-boost.patch, +metadata.xml:
+ initial import
+
diff --git a/dev-cpp/luabind/Manifest b/dev-cpp/luabind/Manifest
new file mode 100644
index 000000000000..37d8b26fe060
--- /dev/null
+++ b/dev-cpp/luabind/Manifest
@@ -0,0 +1,5 @@
+AUX luabind-0.9.1-boost.patch 1788 SHA256 010026c1446b276e9e04f11851aca90c5172841cf421c3a31aef4ab442c80d7e SHA512 2479f0af75b63e4a754cec01c003af6a822fc02fee139d783d5cf3d0b0161f32cd3df37b74e523c2e1adaf9e2909e0e7112232b6488a2b7f10f74ebf444f9048 WHIRLPOOL f53db081231d1314ae75f99ef25de765067889a94282a9a75acd5b4e91b960f8c5ba8e3ce93e188fdd2233791aaa0e91d9915c9a3db6c159c03f143b2c676e56
+DIST luabind-0.9.1.tar.gz 194560 SHA256 80de5e04918678dd8e6dac3b22a34b3247f74bf744c719bae21faaa49649aaae SHA512 7967a27c3fccb155c282b3234e57d1943f6270988587b772a018d8d4491c8fe5418f264154405aaf1fdfaa27a3e478b026dd6c51f95d8d6092df82c468407ae1 WHIRLPOOL 6c8f0233c571ce5b91c3d44375aaf4251fd39e06f28e8ffab2207ed1b50d45a324b9c4abac944dcad501febf59972a281bc01653120ddcdf61d123db51937496
+EBUILD luabind-0.9.1.ebuild 1063 SHA256 fd3ec5e5c8bd681d49da38e6ca4ede7edac3b737f5689db0b81cce40853e556c SHA512 f5d7d8ea08ef20f30a93d5bdc726651c9ba447cb811402de1ea79cc8e821cb0012b2e589c861188ebf2649f23b2dc60e7fc04cf3c7cf3334bbd257bea6cf807c WHIRLPOOL 53b5ddfb61e9f028b104ace1d0fed445fbcd1e81757db6d2cd743de55f76608edafe74e7881d478b54d7809eb490f1d796988c3ba80c0780ce87f6cbfa809781
+MISC ChangeLog 289 SHA256 f768fee2bcff041ade491acd560addab2e629ecfa04fd0b0d6edd4cb485f0fd1 SHA512 ea8850499c16989968f7723d7c842e08078732e162f9b10fcfe16e79495669be127e355bec963cc175dc10b1429b8492b482d1cd5f5825c9ff6f8e0771258664 WHIRLPOOL 257dfd83b55e7bc19c86628aebc9c22dea7b8cfcaddb468c88a46e62b8e06d8f7e3d77484863e7442ce925c02b5b117edadc28972572666cde5855f2ca2da07a
+MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858
diff --git a/dev-cpp/luabind/files/luabind-0.9.1-boost.patch b/dev-cpp/luabind/files/luabind-0.9.1-boost.patch
new file mode 100644
index 000000000000..92e32828a03c
--- /dev/null
+++ b/dev-cpp/luabind/files/luabind-0.9.1-boost.patch
@@ -0,0 +1,59 @@
+diff --git luabind-0.9.1/luabind/detail/call_function.hpp luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+index 1b45ec1..8f5afff 100644
+--- luabind-0.9.1/luabind/detail/call_function.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_function.hpp
+@@ -323,7 +323,8 @@ namespace luabind
+
+ #endif // LUABIND_CALL_FUNCTION_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -440,4 +441,5 @@ namespace luabind
+
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/detail/call_member.hpp luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+index de8d563..e63555b 100644
+--- luabind-0.9.1/luabind/detail/call_member.hpp
++++ luabind-0.9.1-fixed/luabind/detail/call_member.hpp
+@@ -316,7 +316,8 @@ namespace luabind
+
+ #endif // LUABIND_CALL_MEMBER_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -360,4 +361,5 @@ namespace luabind
+ #undef LUABIND_TUPLE_PARAMS
+
+ #endif
++#endif
+
+diff --git luabind-0.9.1/luabind/wrapper_base.hpp luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+index d54c668..0f88cc5 100755
+--- luabind-0.9.1/luabind/wrapper_base.hpp
++++ luabind-0.9.1-fixed/luabind/wrapper_base.hpp
+@@ -89,7 +89,8 @@ namespace luabind
+
+ #endif // LUABIND_WRAPPER_BASE_HPP_INCLUDED
+
+-#elif BOOST_PP_ITERATION_FLAGS() == 1
++#else
++#if BOOST_PP_ITERATION_FLAGS() == 1
+
+ #define LUABIND_TUPLE_PARAMS(z, n, data) const A##n *
+ #define LUABIND_OPERATOR_PARAMS(z, n, data) const A##n & a##n
+@@ -188,3 +189,4 @@ namespace luabind
+ #undef N
+
+ #endif
++#endif
diff --git a/dev-cpp/luabind/luabind-0.9.1.ebuild b/dev-cpp/luabind/luabind-0.9.1.ebuild
new file mode 100644
index 000000000000..7a0453705f79
--- /dev/null
+++ b/dev-cpp/luabind/luabind-0.9.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/luabind/luabind-0.9.1.ebuild,v 1.1 2013/05/02 21:56:13 hasufell Exp $
+
+# NOTE: cross compiling is probably broken
+
+EAPI=5
+
+inherit eutils multilib
+
+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=""
+
+RDEPEND="dev-lang/lua"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ dev-util/boost-build"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-boost.patch
+}
+
+src_compile() {
+ # linkflags get appended, so they actually do nothing
+ bjam release \
+ -d+2 \
+ --prefix="${D}/usr/" \
+ cflags="${CFLAGS}" \
+ linkflags="${LDFLAGS}" \
+ link=shared || die "compile failed"
+}
+
+src_install() {
+ bjam release \
+ -d+2 \
+ --prefix="${D}/usr/" \
+ cflags="${CFLAGS}" \
+ linkflags="${LDFLAGS}" \
+ link=shared \
+ install || die "compile failed"
+
+ # no idea how to fix that in Jamfile
+ mv "${ED}"/usr/lib "${ED}"/usr/$(get_libdir)
+}
+
+# generally, this really sucks, patches welcome
diff --git a/dev-cpp/luabind/metadata.xml b/dev-cpp/luabind/metadata.xml
new file mode 100644
index 000000000000..bfabcd0164b9
--- /dev/null
+++ b/dev-cpp/luabind/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+