annotate src/librsb.mk @ 4397:7619117e7a73

librsb: update to 1.2.0-rc7 * src/librsb.mk: update version, checksum
author John D
date Wed, 07 Jun 2017 17:57:13 -0400
parents ce6c155a45ba
children 58c55baead8f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
4397
7619117e7a73 librsb: update to 1.2.0-rc7
John D
parents: 4372
diff changeset
6 $(PKG)_VERSION := 1.2.0-rc7
7619117e7a73 librsb: update to 1.2.0-rc7
John D
parents: 4372
diff changeset
7 $(PKG)_CHECKSUM := 66f66c74597228dfd7a3ba8215ad36a17b31f43b
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
4303
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
35
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
36 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
37 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
38 fi
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
39 endef