Mercurial > mxe-octave
view src/mxml.mk @ 3444:db18ee645aec
tweaks to dist and binary dist rules
* binary-dist-rules.mk: Use -perm /a+x option for find command instead
of -executable.
* dist-files.mk: Update file list.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 22 Jan 2014 11:52:40 -0500 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := mxml $(PKG)_IGNORE := $(PKG)_CHECKSUM := a3bdcab48307794c297e790435bcce7becb9edae $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://ftp.easysw.com/pub/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := pthreads define $(PKG)_UPDATE $(WGET) -q -O- 'http://ftp.easysw.com/pub/mxml/?C=M;O=D' | \ $(SED) -n 's,.*<a href="\([0-9][^"]*\)/.*,\1,p' | \ head -1 endef define $(PKG)_BUILD cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --enable-threads $(MAKE) -C '$(1)' -j '$(JOBS)' libmxml.a $(MAKE) -C '$(1)' -j 1 install-libmxml.a $(INSTALL) -d '$(HOST_INCDIR)' $(INSTALL) -m644 '$(1)/mxml.h' '$(HOST_INCDIR)' $(INSTALL) -d '$(HOST_LIBDIR)/pkgconfig' $(INSTALL) -m644 '$(1)/mxml.pc' '$(HOST_LIBDIR)/pkgconfig' '$(MXE_CC)' \ -W -Wall -Werror -ansi -pedantic \ '$(2).c' -o '$(HOST_BINDIR)/test-mxml.exe' \ `'$(MXE_PKG_CONFIG)' mxml --cflags --libs` endef