Mercurial > mxe-octave
annotate src/of-sparsersb.mk @ 4426:342cc3ee5e4b
of-general: update patch to work for both stable and dev octave
* src/of-general-1-symtab-fixes.patch: updated patch
author | John D |
---|---|
date | Fri, 21 Jul 2017 12:05:46 -0400 |
parents | 988745446d56 |
children | 2a53600c749c |
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 := of-sparsersb |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
4374 | 6 $(PKG)_VERSION := 1.0.5 |
7 $(PKG)_CHECKSUM := 2f259e2b3993134c6f6552327fd5a5933a83bae6 | |
4058
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_SUBDIR := sparsersb-$($(PKG)_VERSION) |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := sparsersb-$($(PKG)_VERSION).tar.gz |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := librsb |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 $(SED) -n 's,.*title="sparsersb-\([0-9][^"]*\).tar.gz".*,\1,p' | \ |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 head -1 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
18 endef |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
19 |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 $(OCTAVE_FORGE_PKG_BUILD) |
c7e31c07c915
of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |