commit:     d9ee0d1fdd4605f27643470b309b9a6330cb3560
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Wed Jun  1 15:49:15 2016 +0000
Commit:     M. B. <tomboy64 <AT> sina <DOT> cn>
CommitDate: Wed Jun  1 15:49:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=d9ee0d1f

add dyncall experimentally

 sys-libs/dyncall/Manifest           |  1 +
 sys-libs/dyncall/dyncall-0.9.ebuild | 26 ++++++++++++++++++++++++++
 sys-libs/dyncall/metadata.xml       | 11 +++++++++++
 3 files changed, 38 insertions(+)

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>[email protected]</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>

Reply via email to