aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2016-06-01 17:49:15 +0200
committerMatthew Brewer <tomboy64@sina.cn>2016-06-01 17:49:15 +0200
commitd9ee0d1fdd4605f27643470b309b9a6330cb3560 (patch)
tree06f80e72d7e21fb5bea8f351434b072c6f73a6d3
parentupdate perl6 stuffs (moarvm this time) (diff)
downloadtbc-d9ee0d1fdd4605f27643470b309b9a6330cb3560.tar.gz
tbc-d9ee0d1fdd4605f27643470b309b9a6330cb3560.tar.bz2
tbc-d9ee0d1fdd4605f27643470b309b9a6330cb3560.zip
add dyncall experimentally
-rw-r--r--sys-libs/dyncall/Manifest1
-rw-r--r--sys-libs/dyncall/dyncall-0.9.ebuild26
-rw-r--r--sys-libs/dyncall/metadata.xml11
3 files changed, 38 insertions, 0 deletions
diff --git a/sys-libs/dyncall/Manifest b/sys-libs/dyncall/Manifest
new file mode 100644
index 0000000..9c3a7ed
--- /dev/null
+++ b/sys-libs/dyncall/Manifest
@@ -0,0 +1 @@
+DIST dyncall-0.9.tar.gz 431660 SHA256 8a7628fd00b4e0acc952c5d9d03035de90f349d4d4dfdad4c48a037f2a0979f9 SHA512 ede2698c34daddc14eba3d93ff5f8ac090ba6033f0c75208f51f7ca3286e383e0bc8fd9e4369da2478b0f2e41cac3fe350fbe8fff9b9ab5aecd230d38955ebb4 WHIRLPOOL c91ecff384da583c72da6461bb6f0e009182db110bb4530272b05e223c918e21829957f3f536a79b865d434ba1abf6aa2c42d374fdf2365c2e7219ebb2c53821
diff --git a/sys-libs/dyncall/dyncall-0.9.ebuild b/sys-libs/dyncall/dyncall-0.9.ebuild
new file mode 100644
index 0000000..ef6c874
--- /dev/null
+++ b/sys-libs/dyncall/dyncall-0.9.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="A library that allows to determine at runtime what functions to call"
+HOMEPAGE="http://www.dyncall.org"
+SRC_URI="http://www.dyncall.org/r${PV}/${P}.tar.gz"
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # This is a simple shell-script that doesn't play nice with econf
+ ./configure --prefix="${D}/usr" || die
+}
+
+src_test() {
+ emake tests
+ emake run-tests
+}
diff --git a/sys-libs/dyncall/metadata.xml b/sys-libs/dyncall/metadata.xml
new file mode 100644
index 0000000..2b7d0c3
--- /dev/null
+++ b/sys-libs/dyncall/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>tomboy64@sina.cn</email>
+ <name>Matthew Brewer</email>
+ </maintainer>
+ <longdescription lang="en">
+ The dyncall library provides a mechanism to push the function parameters manually and to issue the call afterwards. This means, that a program can determine at runtime what function to call, and what parameters to pass to it.
+ </longdescription>
+</pkgmetadata>