view src/of-control.mk @ 3868:18c11e05b23c

of-control: enable package compile if --enable-binary-packages was set * src/of-control.ml: use OCTAVE_FORGE_PKG_BUILD rule
author John Donoghue <john.donoghue@ieee.org>
date Mon, 30 Mar 2015 06:47:19 -0400
parents d368a2fb7cf0
children 3850b0c0c80d
line wrap: on
line source

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

PKG             := of-control
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 2.8.0
$(PKG)_CHECKSUM := b35781fdc02f92fdbbf4eb114a8c5e1e975f978d
$(PKG)_REMOTE_SUBDIR := 
$(PKG)_SUBDIR   := control
$(PKG)_FILE     := control-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
$(PKG)_DEPS     := 

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

define $(PKG)_BUILD
    $(OCTAVE_FORGE_PKG_BUILD)
endef