aboutsummaryrefslogtreecommitdiff
blob: 233a80a7abb255698f8cce4b16f894e5d584f74d (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="C++ library for handling of multiple co-processes"
HOMEPAGE="http://www.aei.mpg.de/~peekas/modglue/"
SRC_URI="http://www.aei.mpg.de/~peekas/cadabra/${P}.tar.gz"

LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86"
IUSE="doc"
DEPEND="( >=dev-libs/libsigc++-2.0 )"
RDEPEND="${DEPEND}"

src_prepare() {
#	fix src/makefile.in
	epatch "${FILESDIR}/${P}-makefile.in.patch"
#	gcc4.4 fix
	epatch "${FILESDIR}/${P}-gcc4.4.patch"
}

src_install() {
	emake DESTDIR="${D}" DEVDESTDIR="${D}" install || die
	use doc && dohtml "${S}/doc/"*
	dodoc AUTHORS ChangeLog INSTALL
}

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"
}