changeset 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 c8e055d83b9f
children 1ac93670d0bc
files Makefile.in build_packages.m dist-files.mk index.html src/gdcm.mk src/of-dicom.mk
diffstat 6 files changed, 31 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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
 
--- 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 \
--- 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 @@
     </tr>
     <tr>
         <td id="gdcm-package">gdcm</td>
-        <td id="gdcm-version">2.2.3</td>
+        <td id="gdcm-version">2.0.19</td>
         <td id="gdcm-website"><a href="http://gdcm.sourceforge.net/">GDCM</a></td>
     </tr>
     <tr>
@@ -1963,6 +1963,11 @@
         <td id="of-data-smoothing-website"><a href="http://octave.sf.net/">Octave Forge data-smoothing package</a></td>
     </tr>
     <tr>
+        <td id="of-dicom-package">of-fits</td>
+        <td id="of-dicom-version">0.1.1</td>
+        <td id="of-dicom-website"><a href="http://octave.sf.net/">Octave Forge dicom package</a></td>
+    </tr>
+    <tr>
         <td id="of-fits-package">of-fits</td>
         <td id="of-fits-version">1.0.3</td>
         <td id="of-fits-website"><a href="http://octave.sf.net/">Octave Forge fits package</a></td>
--- 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
--- /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