# HG changeset patch # User John Donoghue # Date 1389831066 18000 # Node ID da62528d53fb7490281198c7f7d1a235feae4db2 # Parent c8e055d83b9f901f4d67717d3994a62f876002da 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) diff -r c8e055d83b9f -r da62528d53fb Makefile.in --- a/Makefile.in Tue Jan 14 21:30:29 2014 +0000 +++ b/Makefile.in Wed Jan 15 19:11:06 2014 -0500 @@ -350,7 +350,7 @@ endif OCTAVE_FORGE_BASE_URL := 'http://sourceforge.net/projects/octave/files/Octave Forge Packages/Individual Package Releases' -OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa) +OCTAVE_FORGE_PACKAGES := $(addprefix of-,miscellaneous struct optim specfun general signal communications image io statistics control geometry windows odepkg linear-algebra sockets zenity actuarial data-smoothing fuzzy-logic-toolkit quaternion fits fl-core tsa dicom) MAKE_SHARED_FROM_STATIC := \ $(TOP_DIR)/tools/make-shared-from-static $(MAKE_SHARED_FROM_STATIC_OPTIONS) diff -r c8e055d83b9f -r da62528d53fb build_packages.m --- a/build_packages.m Tue Jan 14 21:30:29 2014 +0000 +++ b/build_packages.m Wed Jan 15 19:11:06 2014 -0500 @@ -24,4 +24,5 @@ pkg install fits-1.0.3.tar.gz pkg install fl-core-1.0.0.tar.gz pkg install tsa-4.2.7.tar.gz +pkg install dicom-0.1.1.tar.gz diff -r c8e055d83b9f -r da62528d53fb dist-files.mk --- a/dist-files.mk Tue Jan 14 21:30:29 2014 +0000 +++ b/dist-files.mk Wed Jan 15 19:11:06 2014 -0500 @@ -384,6 +384,7 @@ of-communications.mk \ of-control.mk \ of-data-smoothing.mk \ + of-dicom.mk \ of-fits.mk \ of-fits-1-fixes.patch \ of-fl-core.mk \ diff -r c8e055d83b9f -r da62528d53fb index.html --- a/index.html Tue Jan 14 21:30:29 2014 +0000 +++ b/index.html Wed Jan 15 19:11:06 2014 -0500 @@ -1238,7 +1238,7 @@ gdcm - 2.2.3 + 2.0.19 GDCM @@ -1963,6 +1963,11 @@ Octave Forge data-smoothing package + of-fits + 0.1.1 + Octave Forge dicom package + + of-fits 1.0.3 Octave Forge fits package diff -r c8e055d83b9f -r da62528d53fb src/gdcm.mk --- a/src/gdcm.mk Tue Jan 14 21:30:29 2014 +0000 +++ b/src/gdcm.mk Wed Jan 15 19:11:06 2014 -0500 @@ -3,7 +3,7 @@ PKG := gdcm $(PKG)_IGNORE := -$(PKG)_CHECKSUM := 83b9ff0744a37b4bf8f687ed198aabea7a9dfc70 +$(PKG)_CHECKSUM := ffbf5c1d040ec12d34fd7a7576633dfe0a1ff7b3 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG) 2.x/GDCM $($(PKG)_VERSION)/$($(PKG)_FILE) @@ -44,7 +44,7 @@ -DGDCM_BUILD_SHARED_LIBS:BOOL=TRUE \ ../$($(PKG)_SUBDIR) make -C $(1)/../.build -j $(JOBS) - make -C $(1)/../.build -j 1 install + make -C $(1)/../.build -j 1 install DESTDIR=$(3) endef endif diff -r c8e055d83b9f -r da62528d53fb src/of-dicom.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/of-dicom.mk Wed Jan 15 19:11:06 2014 -0500 @@ -0,0 +1,20 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := of-dicom +$(PKG)_IGNORE := +$(PKG)_CHECKSUM := dfb7eccf6ccc39e52c27a5d885984eaa3a55d3d4 +$(PKG)_REMOTE_SUBDIR := +$(PKG)_SUBDIR := dicom +$(PKG)_FILE := dicom-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/octave/$($(PKG)_FILE)?download +$(PKG)_DEPS := gdcm + +define $(PKG)_UPDATE + echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; + echo $($(PKG)_VERSION) +endef + +define $(PKG)_BUILD + $(OCTAVE_FORGE_PKG_BUILD) +endef