Mercurial > mxe-octave
comparison src/of-nan.mk @ 3980:9f7e9b053041
of-nan: add Nan 2.8.0 package
* Makefile.in: add of-nan to OCTAVE_FORGE_PACKAGES
* build_packages.m: add nan-2.8.0 install
* dist-files.mk: add of-nan-1-cross-fixes.patch, of-nan.m
* index.html: add of-nan package
* of-nan.mk: new file
* of-nan-1-cross-fixes.patch: new file
author | John Donoghue |
---|---|
date | Tue, 30 Jun 2015 13:41:41 -0400 |
parents | |
children | 5b8ff612595a |
comparison
equal
deleted
inserted
replaced
3979:246d007d1b42 | 3980:9f7e9b053041 |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := of-nan | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 2.8.0 | |
7 $(PKG)_CHECKSUM := 308067242050f21e67c7b9a482705a710531eb82 | |
8 $(PKG)_REMOTE_SUBDIR := | |
9 $(PKG)_SUBDIR := NaN | |
10 $(PKG)_FILE := nan-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_URL := '$(OCTAVE_FORGE_BASE_URL)/$($(PKG)_FILE)/download' | |
12 $(PKG)_DEPS := | |
13 | |
14 define $(PKG)_UPDATE | |
15 $(WGET) -q -O- 'http://$(SOURCEFORGE_MIRROR)/projects/octave/files/Octave%20Forge%20Packages/Individual%20Package%20Releases/' | \ | |
16 $(SED) -n 's,.*title="nan-\([0-9][^"]*\).tar.gz".*,\1,p' | \ | |
17 head -1 | |
18 endef | |
19 | |
20 define $(PKG)_BUILD | |
21 $(OCTAVE_FORGE_PKG_BUILD) | |
22 endef |