diff options
author | Johannes Huber <johu@gentoo.org> | 2017-03-05 12:42:21 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-03-05 12:50:12 +0100 |
commit | 882912979ed202229888660b7da6357d1ea4add0 (patch) | |
tree | 2edd8100735fa0523f9db948130031c6da5aabbd /dev-libs/fddl | |
parent | net-firewall/gshield: Revision bump (maybe bug #611702). (diff) | |
download | gentoo-882912979ed202229888660b7da6357d1ea4add0.tar.gz gentoo-882912979ed202229888660b7da6357d1ea4add0.tar.bz2 gentoo-882912979ed202229888660b7da6357d1ea4add0.zip |
dev-libs/fddl: EAPI 6
Closes: https://github.com/gentoo/gentoo/pull/4082
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/fddl')
-rw-r--r-- | dev-libs/fddl/fddl-20111124-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/fddl/fddl-20111124-r1.ebuild b/dev-libs/fddl/fddl-20111124-r1.ebuild new file mode 100644 index 000000000000..c28910e71706 --- /dev/null +++ b/dev-libs/fddl/fddl-20111124-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils multilib vcs-snapshot + +DESCRIPTION="Free Decision Diagram Library" +HOMEPAGE="http://itval.sourceforge.net/ https://github.com/atomopawn/FDDL" +SRC_URI="https://dev.gentoo.org/~pinkbyte/distfiles/snapshots/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DOCS=( AUTHORS ChangeLog INSTALL RELEASE ) + +src_prepare() { + cmake-utils_src_prepare + + # Remove references to files that were not shipped, + # prefer dynamic linking + sed -i \ + -e 's|unaryoperation.cpp||g' \ + -e 's|unaryoperation.h||g' \ + -e 's|binaryoperation.cpp||g' \ + -e 's|binaryoperation.h||g' \ + -e '/add_library/s/FDDL /FDDL SHARED /' \ + -e '/add_library/s/FDDL /FDDL SHARED /' \ + -e "/^install/s:DESTINATION lib:DESTINATION $(get_libdir):" \ + src/CMakeLists.txt || die + # Do not build tests that depend on above files + sed -i \ + {,tests/}CMakeLists.txt \ + -e '/test_unaryop/d' \ + -e '/test_binaryop/d' \ + || die +} |