Mercurial > mxe-octave
view src/levmar.mk @ 2847:d37122aa7a10
package vmime: use github tarball
This seems like a much better idea than applying our own copy
of the patches to the 0.9.1 tarball.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 12 Nov 2012 21:56:00 +0100 |
parents | 4d0f3a9da57e |
children | 100e618349f7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := levmar $(PKG)_IGNORE := $(PKG)_CHECKSUM := 118bd20b55ab828d875f1b752cb5e1238258950b $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tgz $(PKG)_URL := http://www.ics.forth.gr/~lourakis/$(PKG)/$($(PKG)_FILE) $(PKG)_DEPS := gcc lapack blas libf2c define $(PKG)_UPDATE $(WGET) -q -O- "http://www.ics.forth.gr/~lourakis/levmar/" | \ $(SED) -n 's_.*Latest:.*levmar-\([0-9]\.[0-9]\).*_\1_ip' | \ head -1; endef define $(PKG)_BUILD $(MAKE) -C '$(1)' -j '$(JOBS)' liblevmar.a \ CC=$(TARGET)-gcc \ AR=$(TARGET)-ar \ RANLIB=$(TARGET)-ranlib $(INSTALL) -m644 '$(1)/levmar.h' '$(PREFIX)/$(TARGET)/include/' $(INSTALL) -m644 '$(1)/liblevmar.a' '$(PREFIX)/$(TARGET)/lib/' endef