aboutsummaryrefslogtreecommitdiff
blob: d8b0f107130d6375609714cf16153a8764b9b164 (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-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="A LAL wrapper for libframe"
HOMEPAGE="https://wiki.ligo.org/Computing/LALSuite"
SRC_URI="https://software.igwn.org/sources/source/lalsuite/${P}.tar.xz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +fast-install +framel python static-libs +swig +swig-iface -swig-octave -swig-python"

DEPEND="sci-libs/lal
		sci-libs/libframe
		sci-libs/ldas-tools-framecpp
	   "
RDEPEND=${DEPEND}

src_configure() {
	econf \
		$(use_enable doc doxygen) \
		$(use_enable fast-install) \
		$(use_enable framel) \
		$(use_enable python) \
		$(use_enable static-libs static) \
		$(use_enable swig) \
		$(use_enable swig-iface) \
		$(use_enable swig-octave) \
		$(use_enable swig-python) \
		--enable-framec \
		--enable-help2man    # generate man pages with help2man
	# Not sure:
	#		$(use_disable libtool-lock) \     avoid locking (might break parallel builds)
}

pkg_postinst() {
	elog "\n    Now you may want to setup your environment:"
	elog "\n    Bourne shell [bash] users: please add the following line to your .profile file:"
	elog "\n        . /etc/lalframe-user-env.sh"
	elog "\n    C-shell [tcsh] users: please add the following line to your .login file:"
	elog "\n        source /etc/lalframe-user-env.csh"
	elog ""
}