Mercurial > mxe-octave
annotate src/librsb.mk @ 4199:f7fce04ebafa
temporary fixes for of-communications package
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 31 Aug 2016 15:01:51 -0400 |
parents | b7c4178dadc4 |
children | f2721809fb7a |
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 := |
4184 | 6 $(PKG)_VERSION := 1.2.0-rc4 |
7 $(PKG)_CHECKSUM := 677731a1c2a814f5ae6be85f085c9bdc249bf658 | |
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) |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_DEPS := libgomp |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 $(WGET) -q -O- 'http://sourceforge.net/projects/librsb/files/librsb/' | \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 head -1 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 endef |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 define $(PKG)_BUILD |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 cd '$(1)' && automake && ./configure \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 --prefix='$(HOST_PREFIX)' \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 --disable-c-examples --disable-fortran-examples \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
26 --disable-sparse-blas-interface \ |
4185
b7c4178dadc4
sparsersb: update patch to latest from sparser repo, enable openmp
John D
parents:
4184
diff
changeset
|
27 --disable-octave-testing |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
29 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
30 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
31 if [ $(MXE_NATIVE_BUILD) = no ]; then \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
32 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
33 $(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
|
34 fi |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
35 endef |