12 |
12 |
LICENSE="GPL-3"
|
13 |
13 |
SLOT="0/${PV}"
|
14 |
14 |
IUSE="curl doc fftw fltk +glpk gnuplot gui hdf5 imagemagick java json opengl portaudio postscript +qhull +qrupdate readline sndfile +sparse ssl sundials X zlib"
|
15 |
|
KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
16 |
16 |
|
17 |
17 |
# Although it is listed in INSTALL.OCTAVE as a build tool, Octave runs
|
18 |
18 |
# "makeinfo" from sys-apps/texinfo at runtime to convert its texinfo
|
... | ... | |
164 |
164 |
# --with-sundials_ida (no-op) with USE="sundials"
|
165 |
165 |
# --without-sundials_ida (disables it) with USE="-sundials"
|
166 |
166 |
#
|
167 |
|
econf \
|
168 |
|
--localstatedir="${EPREFIX}/var/state/octave" \
|
169 |
|
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
|
170 |
|
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
|
171 |
|
--disable-64 \
|
172 |
|
--enable-shared \
|
173 |
|
--with-z \
|
174 |
|
--with-bz2 \
|
175 |
|
$(use_enable doc docs) \
|
176 |
|
$(use_enable java) \
|
177 |
|
$(use_enable json rapidjson) \
|
178 |
|
$(use_enable readline) \
|
179 |
|
$(use_with curl) \
|
180 |
|
$(use_with fftw fftw3) \
|
181 |
|
$(use_with fftw fftw3f) \
|
182 |
|
$(use_enable fftw fftw-threads) \
|
183 |
|
$(use_with glpk) \
|
184 |
|
$(use_with hdf5) \
|
185 |
|
$(use_with imagemagick magick GraphicsMagick++) \
|
186 |
|
$(use_with opengl) \
|
187 |
|
$(use_with fltk) \
|
188 |
|
$(use_with ssl openssl) \
|
189 |
|
$(use_with portaudio) \
|
190 |
|
$(use_with qhull qhull_r) \
|
191 |
|
$(use_with qrupdate) \
|
192 |
|
$(use_with gui qt 5) \
|
193 |
|
$(use_with sndfile) \
|
194 |
|
$(use_with sparse arpack) \
|
195 |
|
$(use_with sparse umfpack) \
|
196 |
|
$(use_with sparse colamd) \
|
197 |
|
$(use_with sparse ccolamd) \
|
198 |
|
$(use_with sparse cholmod) \
|
199 |
|
$(use_with sparse cxsparse) \
|
200 |
|
$(use_with sundials sundials_ida) \
|
|
167 |
local myeconfargs=(
|
|
168 |
--localstatedir="${EPREFIX}/var/state/octave"
|
|
169 |
--with-blas="$($(tc-getPKG_CONFIG) --libs blas)"
|
|
170 |
--with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)"
|
|
171 |
--disable-64
|
|
172 |
--enable-shared
|
|
173 |
--with-z
|
|
174 |
--with-bz2
|
|
175 |
|
|
176 |
# bug #901965
|
|
177 |
--without-libiconv-prefix
|
|
178 |
--without-libreadline-prefix
|
|
179 |
|
|
180 |
$(use_enable doc docs)
|
|
181 |
$(use_enable java)
|
|
182 |
$(use_enable json rapidjson)
|
|
183 |
$(use_enable readline)
|
|
184 |
$(use_with curl)
|
|
185 |
$(use_with fftw fftw3)
|
|
186 |
$(use_with fftw fftw3f)
|
|
187 |
$(use_enable fftw fftw-threads)
|
|
188 |
$(use_with glpk)
|
|
189 |
$(use_with hdf5)
|
|
190 |
$(use_with imagemagick magick GraphicsMagick++)
|
|
191 |
$(use_with opengl)
|
|
192 |
$(use_with fltk)
|
|
193 |
$(use_with ssl openssl)
|
|
194 |
$(use_with portaudio)
|
|
195 |
$(use_with qhull qhull_r)
|
|
196 |
$(use_with qrupdate)
|
|
197 |
$(use_with gui qt 5)
|
|
198 |
$(use_with sndfile)
|
|
199 |
$(use_with sparse arpack)
|
|
200 |
$(use_with sparse umfpack)
|
|
201 |
$(use_with sparse colamd)
|
|
202 |
$(use_with sparse ccolamd)
|
|
203 |
$(use_with sparse cholmod)
|
|
204 |
$(use_with sparse cxsparse)
|
|
205 |
$(use_with sundials sundials_ida)
|
201 |
206 |
$(use_with X x)
|
|
207 |
)
|
|
208 |
|
|
209 |
econf "${myeconfargs[@]}"
|
202 |
210 |
}
|
203 |
211 |
|
204 |
212 |
src_compile() {
|