annotate src/build-lzip.mk @ 4236:49430638c5bd

build-lzip: New package.
author John W. Eaton <jwe@octave.org>
date Fri, 28 Oct 2016 10:06:54 -0400
parents
children f20cc8ec42f6
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 :=
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 1.18
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := ef42f3209d02c3b3c217a61c8f127bcb8747b128
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
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 echo $($(PKG)_VERSION)
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1)' && './configure' \
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 --prefix='$(BUILD_TOOLS_PREFIX)'
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)'
49430638c5bd build-lzip: New package.
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 endef