mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/fddl: Remove 20111124 (r0)
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
parent
c2c8c3c26c
commit
cef022f1bc
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
CMAKE_IN_SOURCE_BUILD=1
|
||||
|
||||
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() {
|
||||
# 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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user