Mercurial > mxe-octave
view src/libgsf.mk @ 5025:0cbc51911dd0
Update sundials to 4.1.0 while keeping version 2.7.0
* src/sundials-27-ida.mk, src/sundials-27-ida-1.patch: Rename files.
* src/sundials-ida.mk: Update version and checksum.
* src/default-octave.mk: Add suitesparse headers to CPPFLAGS.
* stable-octave.mk, release-octave.mk: Depend on older version of Sundials IDA.
* index.html: Add item for Sundials IDA at version 2.7.0.
* dist-files.mk: Add and rename files.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 16 Mar 2019 18:23:21 +0100 |
parents | 038985c3bde2 |
children | b19af28f7ee3 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := libgsf $(PKG)_IGNORE := $(PKG)_VERSION := 1.14.27 $(PKG)_CHECKSUM := b6082b71bf9d6e1cdafde9628cae58fcedc4a8fd $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION) $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) $(PKG)_DEPS := zlib bzip2 glib libxml2 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) $(PKG)_DEPS += intltool endif define $(PKG)_UPDATE $(WGET) -q -O- https://github.com/GNOME/libgsf/tags | \ $(SED) -n 's|.*releases/tag/LIBGSF_\([^"]*\).*|\1|p' | \ $(SED) 's,_,.,g' | $(SORT) -V | \ tail -1 endef define $(PKG)_BUILD echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in $(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --disable-nls \ --disable-gtk-doc \ --with-zlib \ --with-bz2 \ PKG_CONFIG='$(MXE_PKG_CONFIG)' \ PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef