Mercurial > mxe-octave
annotate src/of-dicom.mk @ 5345:fbd2e752405e
of-dicom: update to v0.3.0
* src/of-dicom-1-gdcm3.patch: remove patch
* dist-files.mk: update version/checksum
* dist-files.mk: remove patch ref
author | John Donoghue |
---|---|
date | Tue, 10 Mar 2020 17:06:13 -0400 |
parents | b06f695f43da |
children | 9b92b671cbdc |
rev | line source |
---|---|
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := of-dicom |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
5345 | 6 $(PKG)_VERSION := 0.3.0 |
7 $(PKG)_CHECKSUM := c9cf943df76a6cf6469542b2be3c34f0904bd751 | |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_REMOTE_SUBDIR := |
4356 | 9 $(PKG)_SUBDIR := dicom-$($(PKG)_VERSION) |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_FILE := dicom-$($(PKG)_VERSION).tar.gz |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/octave/$($(PKG)_FILE)?download |
4828
6dd354a8787b
of-dicom: don't depend on cmake
John W. Eaton <jwe@octave.org>
parents:
4684
diff
changeset
|
12 $(PKG)_DEPS := gdcm |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 |
4449
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4386
diff
changeset
|
14 ifeq ($(ENABLE_BINARY_PACKAGES),yes) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4386
diff
changeset
|
15 $(PKG)_DEPS += $(OCTAVE_TARGET) |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4386
diff
changeset
|
16 endif |
1933a9113e65
of-*: add octave as a dependancy to the of packages is binary enable is set (Bug #46235)
John D
parents:
4386
diff
changeset
|
17 |
4356 | 18 ifeq ($(MXE_NATIVE_BUILD),no) |
19 $(PKG)_OPTIONS := CMAKE_BINARY="cmake -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'" | |
20 else | |
21 $(PKG)_OPTIONS := | |
22 endif | |
23 | |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
24 define $(PKG)_UPDATE |
4543
7d1e45c2f175
update: more PKG_UPDATE updates, added update-octaveforge target
John D
parents:
4449
diff
changeset
|
25 $(OCTAVE_FORGE_PKG_UPDATE) |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
26 endef |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
27 |
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
28 define $(PKG)_BUILD |
4684
0a5da48ccaaf
of-dicom: fix gdcm cross detect issues, reenable dicom
John Donoghue
parents:
4661
diff
changeset
|
29 $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS)) |
3424
da62528d53fb
Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
30 endef |