1 |
commit: d9ee0d1fdd4605f27643470b309b9a6330cb3560 |
2 |
Author: Matthew Brewer <tomboy64 <AT> sina <DOT> cn> |
3 |
AuthorDate: Wed Jun 1 15:49:15 2016 +0000 |
4 |
Commit: M. B. <tomboy64 <AT> sina <DOT> cn> |
5 |
CommitDate: Wed Jun 1 15:49:15 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/user/tbc.git/commit/?id=d9ee0d1f |
7 |
|
8 |
add dyncall experimentally |
9 |
|
10 |
sys-libs/dyncall/Manifest | 1 + |
11 |
sys-libs/dyncall/dyncall-0.9.ebuild | 26 ++++++++++++++++++++++++++ |
12 |
sys-libs/dyncall/metadata.xml | 11 +++++++++++ |
13 |
3 files changed, 38 insertions(+) |
14 |
|
15 |
diff --git a/sys-libs/dyncall/Manifest b/sys-libs/dyncall/Manifest |
16 |
new file mode 100644 |
17 |
index 0000000..9c3a7ed |
18 |
--- /dev/null |
19 |
+++ b/sys-libs/dyncall/Manifest |
20 |
@@ -0,0 +1 @@ |
21 |
+DIST dyncall-0.9.tar.gz 431660 SHA256 8a7628fd00b4e0acc952c5d9d03035de90f349d4d4dfdad4c48a037f2a0979f9 SHA512 ede2698c34daddc14eba3d93ff5f8ac090ba6033f0c75208f51f7ca3286e383e0bc8fd9e4369da2478b0f2e41cac3fe350fbe8fff9b9ab5aecd230d38955ebb4 WHIRLPOOL c91ecff384da583c72da6461bb6f0e009182db110bb4530272b05e223c918e21829957f3f536a79b865d434ba1abf6aa2c42d374fdf2365c2e7219ebb2c53821 |
22 |
|
23 |
diff --git a/sys-libs/dyncall/dyncall-0.9.ebuild b/sys-libs/dyncall/dyncall-0.9.ebuild |
24 |
new file mode 100644 |
25 |
index 0000000..ef6c874 |
26 |
--- /dev/null |
27 |
+++ b/sys-libs/dyncall/dyncall-0.9.ebuild |
28 |
@@ -0,0 +1,26 @@ |
29 |
+# Copyright 1999-2016 Gentoo Foundation |
30 |
+# Distributed under the terms of the GNU General Public License v2 |
31 |
+# $Id$ |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+DESCRIPTION="A library that allows to determine at runtime what functions to call" |
36 |
+HOMEPAGE="http://www.dyncall.org" |
37 |
+SRC_URI="http://www.dyncall.org/r${PV}/${P}.tar.gz" |
38 |
+LICENSE="ISC" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~x86" |
41 |
+IUSE="test" |
42 |
+ |
43 |
+DEPEND="" |
44 |
+RDEPEND="${DEPEND}" |
45 |
+ |
46 |
+src_configure() { |
47 |
+ # This is a simple shell-script that doesn't play nice with econf |
48 |
+ ./configure --prefix="${D}/usr" || die |
49 |
+} |
50 |
+ |
51 |
+src_test() { |
52 |
+ emake tests |
53 |
+ emake run-tests |
54 |
+} |
55 |
|
56 |
diff --git a/sys-libs/dyncall/metadata.xml b/sys-libs/dyncall/metadata.xml |
57 |
new file mode 100644 |
58 |
index 0000000..2b7d0c3 |
59 |
--- /dev/null |
60 |
+++ b/sys-libs/dyncall/metadata.xml |
61 |
@@ -0,0 +1,11 @@ |
62 |
+<?xml version="1.0" encoding="UTF-8"?> |
63 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
64 |
+<pkgmetadata> |
65 |
+ <maintainer type="person"> |
66 |
+ <email>tomboy64@××××.cn</email> |
67 |
+ <name>Matthew Brewer</email> |
68 |
+ </maintainer> |
69 |
+ <longdescription lang="en"> |
70 |
+ 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. |
71 |
+ </longdescription> |
72 |
+</pkgmetadata> |