mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-17 16:55:25 +01:00
Build Perl 5.4.50.
This commit is contained in:
parent
621b099a57
commit
d4ddf4b79b
7 changed files with 157 additions and 0 deletions
20
sysa/perl5.004_05/mk/main.mk
Normal file
20
sysa/perl5.004_05/mk/main.mk
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
CC = tcc
|
||||
|
||||
.PHONY: all
|
||||
|
||||
MINIPERL_SRC = av deb doio doop dump globals gv hv mg miniperlmain op perl perlio perly pp pp_ctl pp_hot pp_sys regcomp regexec run scope sv taint toke universal util
|
||||
MINIPERL_OBJ = $(addsuffix .o, $(MINIPERL_SRC))
|
||||
|
||||
all: miniperl
|
||||
|
||||
miniperl: $(MINIPERL_OBJ)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
install: all
|
||||
install miniperl $(PREFIX)/bin/perl
|
||||
mkdir -p $(PREFIX)/lib/perl5/5.004_05
|
||||
mv lib/* $(PREFIX)/lib/perl5/5.004_05/
|
||||
Loading…
Add table
Add a link
Reference in a new issue