Mercurial > mxe-octave
comparison src/librsb.mk @ 4058:c7e31c07c915
of-sparsrb: add new package
* src/librsb.mk: new file
* src/librsb-1-nobzero.patch: new patch
* src/of-sparsersb.mk: new file
* src/of-sparsersb-1-cross-build.patch: new patch
* src/libgomp.mk: install libgomp.spec to build tools
* build_packages.m: add sparserb package
* index.html: add librsb and of-sparsersb packages
* Makefile.in: add sparsersb package to of-
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 22 Nov 2015 19:01:31 -0500 |
parents | |
children | fc1bee8ff2d4 |
comparison
equal
deleted
inserted
replaced
4057:2e7810eed506 | 4058:c7e31c07c915 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := librsb | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 1.2.0-rc2 | |
7 $(PKG)_CHECKSUM := 7ec074260f7d8af5817bd01b9c522216aa96c3dc | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := libgomp | |
12 | |
13 define $(PKG)_UPDATE | |
14 $(WGET) -q -O- 'http://sourceforge.net/projects/librsb/files/librsb/' | \ | |
15 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && automake && ./configure \ | |
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
22 --prefix='$(HOST_PREFIX)' \ | |
23 $(ENABLE_SHARED_OR_STATIC) \ | |
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
25 --disable-c-examples --disable-fortran-examples \ | |
26 --disable-sparse-blas-interface \ | |
27 --disable-octave-testing --without-openmp | |
28 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
29 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' | |
30 | |
31 if [ $(MXE_NATIVE_BUILD) = no ]; then \ | |
32 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \ | |
33 $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/librsb-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/librsb-config'; \ | |
34 fi | |
35 endef |