aboutsummaryrefslogtreecommitdiff
blob: fef15117ae4f1ea3b6b05c0105ca9d0e4e1542c3 (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
46
47
48
49
50
51
52
53
54
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="LIGO Global Diagnostic System"
HOMEPAGE="http://software.ligo.org/lscsoft"
SRC_URI="http://software.ligo.org/lscsoft/source/${P}.tar.gz"

LICENSE="all-rights-reserved"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fast-install -largefile -libtool-lock monitors omega online static-libs"
# 32bit 64bit dmt-runtime dmtviewer dtt  nogui offline only-dtt rts

RDEPEND="dev-libs/cyrus-sasl
		 dev-libs/expat
		 dev-libs/jsoncpp
		 net-misc/curl
		 sci-libs/fftw
		 sci-libs/metaio
		 sys-libs/zlib"
DEPEND=${RDEPEND}

src_prepare() {
	eapply -p0 "${FILESDIR}/${P}-compound.cc.patch"
	eapply_user
}

src_configure() {
	econf \
		$(use_enable fast-install) \
		$(use_enable largefile) \
		$(use_enable libtool-lock) \
		$(use_enable monitors) \
		$(use_enable omega) \
		$(use_enable online) \
		$(use_enable static-libs static)
}
#		--enable-64bit
#		$(use_enable 32bit) \
#		$(use_enable 64bit) \
#		$(use_enable dmt-runtime) \  # Requires gds-dmt?
#		$(use_enable dmtviewer) \  # Requires gds-dmt?
#		$(use_enable dtt) \  # Requires gds-dtt?
#		$(use_enable nogui) \  # Requires gds-gui?
#		$(use_enable only-dtt) \  # Requires gds-dtt?
#		$(use_enable offline) \--dis/--enable doesn't work
#		$(use_enable rts) \

src_install() {
	emake DESTDIR="${D}${DESTDIR}" install
	dodoc README || die
}