summaryrefslogtreecommitdiff
path: root/packages/dev-libs/libixion/libixion-0.13.0.exheres-0
blob: e8b15ee30b94d5160a09ad723caccb5ea7fe763d (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
# Copyright 2013 Benedikt Morbach <moben@exherbo.org>
# Copyright 2015 Wouter van Kesteren <woutershep@gmail.com>
# Distributed under the terms of the GNU General Public License v2

require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
require python [ blacklist="2" with_opt=true ]

SUMMARY="General purpose formula parser & interpreter that can calculate multiple 'cells'"
DESCRIPTION="
A library for calculating the results of formula expressions stored in multiple named targets, or
“cells”. The cells can be referenced from each other, and the library takes care of resolving their
dependencies automatically upon calculation. The caller can run the calculation routine either in a
single-threaded mode, or a multi-threaded mode. The library also supports re-calculations where the
contents of one or more cells have been modified since the last calculation, and a partial
calculation of only the affected cells need to be calculated.
"
HOMEPAGE="https://gitlab.com/ixion/ixion#tab-readme"
DOWNLOADS="https://kohei.us/files/ixion/src/${PNV}.tar.xz"

LICENCES="MPL-2.0"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS=""

# libtool picking up the old version
RESTRICT="test"

DEPENDENCIES="
    build:
        dev-libs/mdds[>=1.2.0]
        virtual/pkg-config[>=0.9.0]
    build+run:
        dev-libs/boost[>=1.36]
"

DEFAULT_SRC_CONFIGURE_PARAMS=(
    --enable-threads
    --disable-debug
    --disable-static
    --disable-static-boost
)
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( python )

src_prepare() {
    # honor flags
    edo sed \
        -e 's/ -O2//' \
        -i configure.ac

    autotools_src_prepare
}