comparison src/gdcm.mk @ 3424:da62528d53fb

Add octave forge dicom package * Makefile.in: Add of-dicom. * build_packages.m: Add install of dicom-0.1.1.tar.gz * dist-files: Add of-dicom.mk. * index.html: Added of-dicom-package. * src/of-dicom.mk: New file. * src/gdcm.mk: use DESTDIR in install. * src/gdcm.mk: update checksum for 2.0.19 * index.html: set gdcm-version to 2.0.19 (still available on sourceforge, and compatible with of-dicom)
author John Donoghue <john.donoghue@ieee.org>
date Wed, 15 Jan 2014 19:11:06 -0500
parents b89f8cfeff8e
children 13be64f9f16d
comparison
equal deleted inserted replaced
3423:c8e055d83b9f 3424:da62528d53fb
1 # This file is part of MXE. 1 # This file is part of MXE.
2 # See index.html for further information. 2 # See index.html for further information.
3 3
4 PKG := gdcm 4 PKG := gdcm
5 $(PKG)_IGNORE := 5 $(PKG)_IGNORE :=
6 $(PKG)_CHECKSUM := 83b9ff0744a37b4bf8f687ed198aabea7a9dfc70 6 $(PKG)_CHECKSUM := ffbf5c1d040ec12d34fd7a7576633dfe0a1ff7b3
7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG) 2.x/GDCM $($(PKG)_VERSION)/$($(PKG)_FILE) 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG) 2.x/GDCM $($(PKG)_VERSION)/$($(PKG)_FILE)
10 $(PKG)_DEPS := expat zlib 10 $(PKG)_DEPS := expat zlib
11 11
42 $($(PKG)_CMAKE_OPTS) \ 42 $($(PKG)_CMAKE_OPTS) \
43 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ 43 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \
44 -DGDCM_BUILD_SHARED_LIBS:BOOL=TRUE \ 44 -DGDCM_BUILD_SHARED_LIBS:BOOL=TRUE \
45 ../$($(PKG)_SUBDIR) 45 ../$($(PKG)_SUBDIR)
46 make -C $(1)/../.build -j $(JOBS) 46 make -C $(1)/../.build -j $(JOBS)
47 make -C $(1)/../.build -j 1 install 47 make -C $(1)/../.build -j 1 install DESTDIR=$(3)
48 endef 48 endef
49 49
50 endif 50 endif