aboutsummaryrefslogtreecommitdiff
blob: ca843118c58f1ab7b4bb0e008d6c540ccace233c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit autotools-utils eutils

DESCRIPTION="C++ library for handling of multiple co-processes"
HOMEPAGE="http://cadabra.phi-sci.com"
SRC_URI="http://cadabra.phi-sci.com/${P}.tar.gz"

RESTRICT="mirror"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="doc"

RDEPEND="dev-libs/libsigc++:2"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

AUTOTOOLS_IN_SOURCE_BUILD=1

PATCHES=(
	# Respect LDFLAGS (and a last bit of 64bit problem)
	"${FILESDIR}"/${PN}-1.19-ldflags.patch
	# fix parallel make. test are made at the same time as the library??
	"${FILESDIR}"/${PN}-1.19-parallelmake.patch
	# take care of the lib/lib64 problem. Without this modglue installs
	# stuff in /usr/usr/lib64 on 64bits systems.
	"${FILESDIR}"/${PN}-1.16-lib64.patch
	)

src_install() {
	use doc && HTML_DOCS=( "${S}"/doc/. )
	autotools-utils_src_install DEVDESTDIR="${D}"
}

pkg_postinst() {
	elog "This version of the modglue ebuild is still under development."
	elog "Help us improve the ebuild in:"
	elog "http://bugs.gentoo.org/show_bug.cgi?id=194393"
}