Mercurial > mxe-octave
annotate src/librsb.mk @ 6234:97c5f8da5036 release
* src/librsb.mk: update to 1.2.0.11
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 27 May 2022 12:24:32 +0200 |
parents | 2db7f803d55d |
children | 86edd6018826 |
rev | line source |
---|---|
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := librsb |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
6234
97c5f8da5036
* src/librsb.mk: update to 1.2.0.11
Markus Mützel <markus.muetzel@gmx.de>
parents:
5895
diff
changeset
|
6 $(PKG)_VERSION := 1.2.0.11 |
97c5f8da5036
* src/librsb.mk: update to 1.2.0.11
Markus Mützel <markus.muetzel@gmx.de>
parents:
5895
diff
changeset
|
7 $(PKG)_CHECKSUM := 5c4e31e3e61f5b6b21a777b2e5093861e52da852 |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE) |
5201
3307ec11073e
skip libgomp dependency if using native gcc
John W. Eaton <jwe@octave.org>
parents:
5131
diff
changeset
|
11 $(PKG)_DEPS := |
3307ec11073e
skip libgomp dependency if using native gcc
John W. Eaton <jwe@octave.org>
parents:
5131
diff
changeset
|
12 ifeq ($(USE_SYSTEM_GCC),no) |
3307ec11073e
skip libgomp dependency if using native gcc
John W. Eaton <jwe@octave.org>
parents:
5131
diff
changeset
|
13 $(PKG)_DEPS += libgomp |
3307ec11073e
skip libgomp dependency if using native gcc
John W. Eaton <jwe@octave.org>
parents:
5131
diff
changeset
|
14 endif |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 define $(PKG)_UPDATE |
4539 | 17 $(WGET) -q -O- 'https://sourceforge.net/projects/librsb/files/' | \ |
18 $(SED) -n 's|.*librsb-\([0-9\.]*[-rc0-9]*\)\.tar.gz\/download.*|\1|p' | \ | |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 head -1 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 endef |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 define $(PKG)_BUILD |
4959
506a61f959e4
Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4539
diff
changeset
|
23 cd '$(1)' && autoreconf -fi && ./configure \ |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
26 $(ENABLE_SHARED_OR_STATIC) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
27 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
28 --disable-c-examples --disable-fortran-examples \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
29 --disable-sparse-blas-interface \ |
4185
b7c4178dadc4
sparsersb: update patch to latest from sparser repo, enable openmp
John D
parents:
4184
diff
changeset
|
30 --disable-octave-testing |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '$(JOBS)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
32 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
33 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
34 if [ $(MXE_NATIVE_BUILD) = no ]; then \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
35 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
36 $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/librsb-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/librsb-config'; \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
37 fi |
4303 | 38 |
39 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
40 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \ | |
41 fi | |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
42 endef |