mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 17:25:24 +01:00
Add Perl 5.6.2.
This commit is contained in:
parent
f4e0999889
commit
5626e0e976
8 changed files with 201 additions and 1 deletions
26
sysa/perl-5.6.2/mk/main.mk
Normal file
26
sysa/perl-5.6.2/mk/main.mk
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
VERSION=5.6.2
|
||||
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||
|
||||
CC = tcc
|
||||
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\" \
|
||||
-DPERL_EXTERNAL_GLOB \
|
||||
-DPERL_CORE=1
|
||||
|
||||
.PHONY: all
|
||||
|
||||
MINIPERL_SRC = av deb doio doop dump globals gv hv mg miniperlmain op perl perlapi perlio perly pp pp_ctl pp_hot pp_sys regcomp regexec run scope sv taint toke universal utf8 util xsutils
|
||||
MINIPERL_OBJ = $(addsuffix .o, $(MINIPERL_SRC))
|
||||
|
||||
all: miniperl
|
||||
|
||||
miniperl: $(MINIPERL_OBJ)
|
||||
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
||||
|
||||
install: all
|
||||
install miniperl $(PREFIX)/bin/perl
|
||||
mkdir -p "$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(PRIVLIB_EXP)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue