view src/of-miscellaneous.mk @ 3961:808ff354717a

binary-dist-rules: fix paths of distributes .pc and .la files * binary-dist-rules.mk: in cross mingw, remove (HOST_PREFIX) from any absolue path names in .pc and .la files
author John D
date Mon, 08 Jun 2015 22:03:11 -0400
parents 58935b4de51f
children 1933a9113e65
line wrap: on
line source

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

PKG             := of-miscellaneous
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.2.1
$(PKG)_CHECKSUM := 01a55890d4f62f2700c0bf4051493c454fc5c042
$(PKG)_REMOTE_SUBDIR := 
$(PKG)_SUBDIR   := miscellaneous-$($(PKG)_VERSION)
$(PKG)_FILE     := miscellaneous-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download'
$(PKG)_DEPS     := of-general units

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

define $(PKG)_BUILD
    $(call OCTAVE_FORGE_PKG_BUILD,$(1),$(2),$(3),UNITS_AVAILABLE=yes)
endef