annotate src/lua.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents 737b7d8277a4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1849
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 290
diff changeset
4 PKG := lua
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
6713
737b7d8277a4 * src/lua.mk: update to v5.4.6
John Donoghue <john.donoghue@ieee.org>
parents: 6090
diff changeset
6 $(PKG)_VERSION := 5.4.6
737b7d8277a4 * src/lua.mk: update to v5.4.6
John Donoghue <john.donoghue@ieee.org>
parents: 6090
diff changeset
7 $(PKG)_CHECKSUM := 83f41abf92620dd15f022e6f863807b07e318495
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 290
diff changeset
8 $(PKG)_SUBDIR := lua-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 290
diff changeset
9 $(PKG)_FILE := lua-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 290
diff changeset
10 $(PKG)_URL := http://www.lua.org/ftp/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3031
diff changeset
11 $(PKG)_DEPS :=
186
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2409
diff changeset
14 $(WGET) -q -O- 'http://www.lua.org/download.html' | \
186
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*lua-\([0-9][^>]*\)\.tar.*,\1,p' | \
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 $(MAKE) -C '$(1)/src' -j '$(JOBS)' \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2811
diff changeset
21 INSTALL_TOP='$(HOST_PREFIX)' \
3031
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
22 CC='$(MXE_CC)' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
23 AR='$(MXE_AR) rcu' \
951da75fd09c improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents: 3014
diff changeset
24 RANLIB='$(MXE_RANLIB)' \
186
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 a
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)' -j 1 \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2811
diff changeset
27 INSTALL_TOP='$(HOST_PREFIX)' \
186
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 INSTALL_BIN='$(1)/noinstall' \
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 INSTALL_MAN='$(1)/noinstall' \
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 TO_BIN='lua.h' \
290
bbb279243ae0 portability fix for Open Solaris: Enforce the use of $(INSTALL) in package lua (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
31 INSTALL='$(INSTALL)' \
1849
e9ccf30fcdaa fix ranlib issues in package lua
Volker Grabsch <vog@notjusthosting.com>
parents: 1801
diff changeset
32 install
1475
72864135031e add test program for lua
Tony Theodore <tonyt@logyst.com>
parents: 714
diff changeset
33
5375
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 5190
diff changeset
34 #'$(MXE_CC)' \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 5190
diff changeset
35 # -W -Wall -Werror -ansi -pedantic \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 5190
diff changeset
36 # '$(2).c' -o '$(HOST_BINDIR)/test-lua.exe' \
00517d15f4fc * src/libiberty.mk, src/lua.mk, src/tinyxml.mk: dont create test apps
John Donoghue <john.donoghue@ieee.org>
parents: 5190
diff changeset
37 # -llua
186
61e5dd6998f9 new package: lua
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 endef