Mercurial > mxe-octave
view src/liboil.mk @ 6508:b06843747eca
add opkg-cfitsio
* src/opkg-cfitsio.mk: new file
* Makefile.in, dist-files.mk, index.html: add ref to new pkg
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 04 Nov 2022 10:37:37 -0400 |
parents | 7e8c6bb47c21 |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := liboil $(PKG)_IGNORE := $(PKG)_VERSION := 0.3.17 $(PKG)_CHECKSUM := f9d7103a3a4a4089f56197f81871ae9129d229ed $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://$(PKG).freedesktop.org/download/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://cgit.freedesktop.org/liboil/refs/tags' | \ $(SED) -n "s,.*<a href='[^']*/tag/?h=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \ --disable-debug \ --disable-examples \ --mandir='$(1)/sink' \ --docdir='$(1)/sink' \ --with-html-dir='$(1)/sink' $(MAKE) -C '$(1)' -j '$(JOBS)' install endef