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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4236
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-lzip
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4391
f20cc8ec42f6 build-lzip: update to v1.19
John D
parents: 4236
diff changeset
6 $(PKG)_VERSION := 1.19
f20cc8ec42f6 build-lzip: update to v1.19
John D
parents: 4236
diff changeset
7 $(PKG)_CHECKSUM := c6042a786b69e3209112fa991806e2e7e0ba5f07
4236
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := lzip-$($(PKG)_VERSION)
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := lzip-$($(PKG)_VERSION).tar.gz
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_URL := http://download.savannah.gnu.org/releases/lzip/$($(PKG)_FILE)
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_DEPS :=
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 endef
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 define $(PKG)_BUILD
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 cd '$(1)' && './configure' \
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 --prefix='$(BUILD_TOOLS_PREFIX)'
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)'
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 endef