changeset 3873:58aa10af640e

of-communications: update to v1.2.1 * src/of-communications.mk: update version, checksum, subdir, add options for cross compile * build_packages.m: update version
author John Donoghue
date Mon, 06 Apr 2015 13:53:50 -0400
parents d7b2bb282421
children c09688a35beb
files build_packages.m src/of-communications.mk
diffstat 2 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/build_packages.m	Mon Apr 06 11:30:00 2015 -0400
+++ b/build_packages.m	Mon Apr 06 13:53:50 2015 -0400
@@ -27,7 +27,7 @@
 try_install specfun-1.1.0.tar.gz
 try_install control-2.8.0.tar.gz
 try_install signal-1.3.0.tar.gz
-try_install communications-1.2.0.tar.gz
+try_install communications-1.2.1.tar.gz
 try_install image-2.2.2.tar.gz
 try_install io-2.2.7.tar.gz
 try_install statistics-1.2.4.tar.gz
--- a/src/of-communications.mk	Mon Apr 06 11:30:00 2015 -0400
+++ b/src/of-communications.mk	Mon Apr 06 13:53:50 2015 -0400
@@ -3,14 +3,16 @@
 
 PKG             := of-communications
 $(PKG)_IGNORE   :=
-$(PKG)_VERSION  := 1.2.0
-$(PKG)_CHECKSUM := 66ffa1bf7a9a6c0642be8ff92f712ab087b47c90
+$(PKG)_VERSION  := 1.2.1
+$(PKG)_CHECKSUM := bf70d8c315c2239e168c02522482c81e4b912968
 $(PKG)_REMOTE_SUBDIR := 
-$(PKG)_SUBDIR   := communications
+$(PKG)_SUBDIR   := communications-$($(PKG)_VERSION)
 $(PKG)_FILE     := communications-$($(PKG)_VERSION).tar.gz
 $(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
 $(PKG)_DEPS     := of-signal
 
+$(PKG)_OPTIONS := comm_cv_hdf5_cppflags='-I$(HOST_INCDIR)' comm_cv_hdf5_ldflags='-L$(HOST_LIBDIR)' comm_cv_hdf5_libs=-lhdf5
+
 define $(PKG)_UPDATE
     $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
     $(SED) -n 's,.*title="communications-\([0-9][^"]*\).tar.gz".*,\1,p' | \
@@ -18,5 +20,5 @@
 endef
 
 define $(PKG)_BUILD
-    $(OCTAVE_FORGE_PKG_BUILD_NOCOMPILE)
+    $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),$($(PKG)_OPTIONS))
 endef