view src/of-statistics.mk @ 3843:dc15f0105d5a

of-statistics: fix subdir to include version number * src/of-statistics.mk: ix subdir to include version number
author John Donoghue
date Tue, 10 Mar 2015 13:40:09 -0400
parents 732f437653ae
children 5095971cff2f
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := of-statistics
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.2.4
$(PKG)_CHECKSUM := 5cf70f146235d6fd19e3d3dd1c7548a96a019dee
$(PKG)_REMOTE_SUBDIR := 
$(PKG)_SUBDIR   := statistics-$($(PKG)_VERSION)
$(PKG)_FILE     := statistics-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
$(PKG)_DEPS     := of-io

define $(PKG)_UPDATE
    $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \
    $(SED) -n 's,.*title="statistics-\([0-9][^"]*\).tar.gz".*,\1,p' | \
    head -1
endef

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef