Mercurial > mxe-octave
view src/opkg-cfitsio.mk @ 6707:330c09e38299 release
* src/opkg-cfitsio.mk: add dependancy on pkg-config
(grafted from e6ec9e6d9c51ea164150a468cedb5c02e79a6418)
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Mon, 01 May 2023 11:11:25 -0400 |
parents | b06843747eca |
children | c257f81c781d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := opkg-cfitsio $(PKG)_IGNORE := $(PKG)_VERSION := 0.0.4 $(PKG)_CHECKSUM := 8676194cddbad7d39c0e3356df98a8d670b19979 $(PKG)_SUBDIR := octave-cfitsio-$($(PKG)_VERSION) $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz $(PKG)_URL := https://downloads.sourceforge.net/project/octave-cfitsio/v$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := pkg-config cfitsio ifeq ($(ENABLE_BINARY_PACKAGES),yes) $(PKG)_DEPS += $(OCTAVE_TARGET) endif define $(PKG)_UPDATE $(WGET) -q -O- https://sourceforge.net/p/octave-cfitsio/code/ci/default/tree/ | \ $(SED) -n 's|.*code/ci/v\([0-9][0-9.]*\)/tree.*|\1|p' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD $(OCTAVE_FORGE_PKG_BUILD) endef