Mercurial > mxe-octave
annotate src/of-octproj.mk @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | b77e76368a51 |
children |
rev | line source |
---|---|
5691
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := of-octproj |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
6509
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
6 $(PKG)_VERSION := 3.0.2 |
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
7 $(PKG)_CHECKSUM := d487820de128ce67bf1f50c9b680568490317ebc |
5691
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := octproj-$($(PKG)_VERSION) |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz |
6509
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
10 $(PKG)_URL := https://bitbucket.org/jgpallero/octproj/downloads/$($(PKG)_FILE) |
5691
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_DEPS := proj |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 $(PKG)_DEPS += $(OCTAVE_TARGET) |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 endif |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 define $(PKG)_UPDATE |
6509
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
18 $(WGET) -q -O- 'https://bitbucket.org/jgpallero/octproj/downloads/?tab=tags' | \ |
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
19 $(SED) -n 's|.*>OctPROJ-\([^<]*\).*|\1|p' | $(SORT) -V | \ |
b77e76368a51
* src/of-octproj.mk: update to v3.0.2, use bitbucket urls
John Donoghue <john.donoghue@ieee.org>
parents:
5691
diff
changeset
|
20 tail -1 |
5691
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 endef |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
23 define $(PKG)_BUILD |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 $(OCTAVE_FORGE_PKG_BUILD) |
cb435a71f36c
Add of-octproj (Bug #60170)
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
25 endef |