Mercurial > mxe-octave
annotate src/build-lzip.mk @ 4545:0e56fe2d2ef5
Makefile.in: add update-build-tools target
* Makefile.in: add update-build-tools target
* src/build-autoconf.mk, src/build-automake.mk,
src/build-bison.mk, src/build-gawk.mk,
src/build-gcc.mk, src/build-gettext.mk,
src/build-gperf.mk, src/build-m4.mk,
src/build-texinfo.mk, src/build-libtool.mk
: update PKG_UPDATE for getting latest version from gnu.org
* src/build-cmake.mk, src/build-flex.mk,
src/build-lzip.mk, src/build-pkg-config.mk,
src/pkg-config.mk, src/build-scons.mk
: add implemented PKG_UPDATE macro
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 23 Nov 2017 12:05:29 -0500 |
parents | f20cc8ec42f6 |
children | 208cecd55407 |
rev | line source |
---|---|
4236 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-lzip | |
5 $(PKG)_IGNORE := | |
4391 | 6 $(PKG)_VERSION := 1.19 |
7 $(PKG)_CHECKSUM := c6042a786b69e3209112fa991806e2e7e0ba5f07 | |
4236 | 8 $(PKG)_SUBDIR := lzip-$($(PKG)_VERSION) |
9 $(PKG)_FILE := lzip-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://download.savannah.gnu.org/releases/lzip/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 define $(PKG)_UPDATE | |
4545
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4391
diff
changeset
|
14 $(WGET) -q -O- http://download.savannah.gnu.org/releases/lzip | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4391
diff
changeset
|
15 $(SED) -n 's,.*<a href="lzip-\([0-9][\.0-9]*\)\.tar\.gz.*,\1,p' | \ |
0e56fe2d2ef5
Makefile.in: add update-build-tools target
John Donoghue <john.donoghue@ieee.org>
parents:
4391
diff
changeset
|
16 $(SORT) -V | tail -1 |
4236 | 17 endef |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && './configure' \ | |
21 --prefix='$(BUILD_TOOLS_PREFIX)' | |
22 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' | |
23 endef |