1 |
commit: 882912979ed202229888660b7da6357d1ea4add0 |
2 |
Author: Johannes Huber <johu <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Mar 5 11:42:21 2017 +0000 |
4 |
Commit: Johannes Huber <johu <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Mar 5 11:50:12 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88291297 |
7 |
|
8 |
dev-libs/fddl: EAPI 6 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/4082 |
11 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
12 |
|
13 |
dev-libs/fddl/fddl-20111124-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/fddl/fddl-20111124-r1.ebuild b/dev-libs/fddl/fddl-20111124-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..c28910e7170 |
19 |
--- /dev/null |
20 |
+++ b/dev-libs/fddl/fddl-20111124-r1.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2017 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+ |
27 |
+inherit cmake-utils multilib vcs-snapshot |
28 |
+ |
29 |
+DESCRIPTION="Free Decision Diagram Library" |
30 |
+HOMEPAGE="http://itval.sourceforge.net/ https://github.com/atomopawn/FDDL" |
31 |
+SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="GPL-2" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="" |
37 |
+ |
38 |
+DOCS=( AUTHORS ChangeLog INSTALL RELEASE ) |
39 |
+ |
40 |
+src_prepare() { |
41 |
+ cmake-utils_src_prepare |
42 |
+ |
43 |
+ # Remove references to files that were not shipped, |
44 |
+ # prefer dynamic linking |
45 |
+ sed -i \ |
46 |
+ -e 's|unaryoperation.cpp||g' \ |
47 |
+ -e 's|unaryoperation.h||g' \ |
48 |
+ -e 's|binaryoperation.cpp||g' \ |
49 |
+ -e 's|binaryoperation.h||g' \ |
50 |
+ -e '/add_library/s/FDDL /FDDL SHARED /' \ |
51 |
+ -e '/add_library/s/FDDL /FDDL SHARED /' \ |
52 |
+ -e "/^install/s:DESTINATION lib:DESTINATION $(get_libdir):" \ |
53 |
+ src/CMakeLists.txt || die |
54 |
+ # Do not build tests that depend on above files |
55 |
+ sed -i \ |
56 |
+ {,tests/}CMakeLists.txt \ |
57 |
+ -e '/test_unaryop/d' \ |
58 |
+ -e '/test_binaryop/d' \ |
59 |
+ || die |
60 |
+} |