Mercurial > mxe-octave
view src/libpaper.mk @ 6530:8ea9085d1f80
of-control: Fix compatibility with Octave 9.
* src/of-control-2-octave-9-compat.patch: Add patch that replaces functions and
classes that have been deprecated in Octave 7 and removed from Octave 9.
* dist-files.mk: Add new file to list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 17 Nov 2022 10:40:12 +0100 |
parents | 4a3ca82e07c9 |
children | 9a9b220319b6 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libpaper $(PKG)_IGNORE := $(PKG)_VERSION := 1.1.28 $(PKG)_CHECKSUM := c6583fbdaebe091d11d81c4e59514e58996f22ba $(PKG)_SUBDIR := libpaper-$($(PKG)_VERSION) $(PKG)_FILE := libpaper_$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.debian.org/debian/pool/main/libp/$(PKG)/$($(PKG)_FILE) $(PKG)_URL_2 := http://linux.mirrors.es.net/pub/ubuntu/pool/main/libp/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://packages.debian.org/unstable/source/libpaper' | \ $(SED) -n 's,.*libpaper_\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && autoreconf -fi && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) endef