Mercurial > mxe-octave
view src/expat.mk @ 6520:56decd595eb7
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 16 Nov 2022 08:27:17 +0100 |
parents | bbf20da4a7af |
children | 5d0853532640 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := expat $(PKG)_IGNORE := $(PKG)_VERSION := 2.5.0 $(PKG)_CHECKSUM := 36e29d7192ab8c5ce44d09375318a0a81395aab0 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION) $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/expat/expat/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://sourceforge.net/projects/expat/files/expat/' | \ $(SED) -n 's,.*tr title="\([0-9][^"]*\)".*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --without-docbook \ --prefix='$(HOST_PREFIX)' && $(CONFIGURE_POST_HOOK) $(MAKE) -C '$(1)' -j '$(JOBS)' install $(MXE_DISABLE_PROGS) DESTDIR='$(3)' endef