Mercurial > mxe-octave
annotate src/librsb.mk @ 7186:19a46de50b18 default tip @
* src/jasper.mk: update to v4.2.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 02 May 2024 09:22:30 -0400 |
parents | 03860a88b499 |
children |
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 := |
6576
03860a88b499
librsb: Update to version 1.3.0.2
Markus Mützel <markus.muetzel@gmx.de>
parents:
6453
diff
changeset
|
6 $(PKG)_VERSION := 1.3.0.2 |
03860a88b499
librsb: Update to version 1.3.0.2
Markus Mützel <markus.muetzel@gmx.de>
parents:
6453
diff
changeset
|
7 $(PKG)_CHECKSUM := 61e23ad6258dba602fc3bcb3cdc4d1c1b24e220c |
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) \ |
6576
03860a88b499
librsb: Update to version 1.3.0.2
Markus Mützel <markus.muetzel@gmx.de>
parents:
6453
diff
changeset
|
28 FC=' ' \ |
6453
86edd6018826
librsb: Update to version 1.3.0.1 (bug #61393).
Markus Mützel <markus.muetzel@gmx.de>
parents:
6234
diff
changeset
|
29 --disable-c-examples \ |
86edd6018826
librsb: Update to version 1.3.0.1 (bug #61393).
Markus Mützel <markus.muetzel@gmx.de>
parents:
6234
diff
changeset
|
30 --disable-fortran-examples \ |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
31 --disable-sparse-blas-interface \ |
6453
86edd6018826
librsb: Update to version 1.3.0.1 (bug #61393).
Markus Mützel <markus.muetzel@gmx.de>
parents:
6234
diff
changeset
|
32 --disable-octave-testing \ |
86edd6018826
librsb: Update to version 1.3.0.1 (bug #61393).
Markus Mützel <markus.muetzel@gmx.de>
parents:
6234
diff
changeset
|
33 --without-librsbpp |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
34 $(MAKE) -C '$(1)' -j '$(JOBS)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
35 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
36 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
37 if [ $(MXE_NATIVE_BUILD) = no ]; then \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
38 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
39 $(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
|
40 fi |
4303 | 41 |
42 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ | |
43 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \ | |
44 fi | |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
45 endef |