annotate src/msys-libintl.mk @ 3721:933b99febcf1

Expand options to support 3 possible sources of octave * configure.ac: modify --enable-stable rule to --enable-octave=source (stable,alpha,default) * Makefile.am: modify OCTAVE_TARGET based on octave build value set in configure. * index.html: added master-octave information. * src/default-octave.mk: new file. * src/default-octave-1-docinstall.patch * dist-files.mk: add default-octave-1-docinstall.patch default-octave.mk * binary-dist-rules.mk: use OCTAVE_TARGET to decide on tarball/installer name
author John Donoghue <john.donoghue@ieee.org>
date Sun, 19 Oct 2014 22:58:20 -0400
parents d95b8b84cea7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2956
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := msys-libintl
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
6 $(PKG)_VERSION := 0.18.1.1-1
2956
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 4000b935a5bc30b4c757fde69d27716fa3c2c269
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_REMOTE_SUBDIR := gettext/gettext-$($(PKG)_VERSION)
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_SUBDIR :=
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
10 $(PKG)_FILE := libintl-$($(PKG)_VERSION)-msys-1.0.17-dll-8.tar.lzma
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11 $(PKG)_URL := $(MSYS_BASE_URL)/$($(PKG)_REMOTE_SUBDIR)/$($(PKG)_FILE)/download
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 $(PKG)_DEPS :=
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 define $(PKG)_UPDATE
3708
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
15 $(WGET) -q -O- '$(MSYS_BASE_URL)/gettext' | \
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
16 $(SED) -n 's,.*title="gettext-\([0-9][^"]*\)".*,\1,p' | \
d95b8b84cea7 enable additional $(PKG)_UPDATE targets.
John W. Eaton <jwe@octave.org>
parents: 3480
diff changeset
17 head -1
2956
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 endef
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 define $(PKG)_BUILD
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 mkdir -p '$(MSYS_BASE_DIR)'
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22 cd '$(1)' && tar cf - . | ( cd '$(MSYS_BASE_DIR)'; tar xpf - )
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2956
diff changeset
23 mkdir -p '$(MSYS_INFO_DIR)'
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2956
diff changeset
24 cd '$(1)' && find . > '$(MSYS_INFO_DIR)'/$(PKG).list
2956
dfa81fbfc1f5 msys binary packages
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 endef