annotate src/of-dicom.mk @ 4684:0a5da48ccaaf

of-dicom: fix gdcm cross detect issues, reenable dicom * Makefile.in: add dicom to forge packages * src/of-dicom.mk: pass cmake with toolchain to pkg build
author John Donoghue
date Mon, 23 Apr 2018 17:14:43 -0400
parents 1814816b46df
children 6dd354a8787b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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 :=
4661
1814816b46df of-dicom: update to v0.2.1
John Donoghue
parents: 4543
diff changeset
6 $(PKG)_VERSION := 0.2.1
1814816b46df of-dicom: update to v0.2.1
John Donoghue
parents: 4543
diff changeset
7 $(PKG)_CHECKSUM := 122636971340ddc826c8aa35b244d07e66f9e4ac
3424
da62528d53fb Add octave forge dicom package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR :=
4356
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
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
4289
02b6df72166a cmake: add cross built cmake package
John D
parents: 3908
diff changeset
12 $(PKG)_DEPS := gdcm cmake
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
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
18 ifeq ($(MXE_NATIVE_BUILD),no)
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
19 $(PKG)_OPTIONS := CMAKE_BINARY="cmake -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)'"
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
20 else
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
21 $(PKG)_OPTIONS :=
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
22 endif
2dbbba3cfa86 of-dicom: update to 0.2.0
John D
parents: 4289
diff changeset
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