annotate src/of-sparsersb.mk @ 4427:2a53600c749c

of-sparsersb: enable buildability in dev octave * src/of-sparsersb-1-fixes.patch: updated patch * src/of-sparsersb.mk: call autogen.sh before build
author John D
date Fri, 21 Jul 2017 15:06:37 -0400
parents 988745446d56
children 1933a9113e65
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 := of-sparsersb
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4374
988745446d56 of-sparsersb: update to 1.0.5
John D
parents: 4372
diff changeset
6 $(PKG)_VERSION := 1.0.5
988745446d56 of-sparsersb: update to 1.0.5
John D
parents: 4372
diff changeset
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
4427
2a53600c749c of-sparsersb: enable buildability in dev octave
John D
parents: 4374
diff changeset
21 cd $(1)/src && ./autogen.sh
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 $(OCTAVE_FORGE_PKG_BUILD)
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 endef