mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-18 01:05:24 +01:00
Rename perl5.004_05 and perl5.005_03
The underscores cause problems later, as _ is a delimiter for "revision number" in packaging.
This commit is contained in:
parent
4fb8efafe2
commit
634ec99771
11 changed files with 12 additions and 8 deletions
24
sysa/perl5.005-03/mk/main.mk
Normal file
24
sysa/perl5.005-03/mk/main.mk
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
|
||||
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
VERSION=5.005_03
|
||||
PRIVLIB_EXP=$(PREFIX)/lib/perl5/$(VERSION)
|
||||
|
||||
CC = tcc
|
||||
CFLAGS = -DPRIVLIB_EXP=\"$(PRIVLIB_EXP)\"
|
||||
|
||||
.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 -D miniperl $(DESTDIR)$(PREFIX)/bin/perl
|
||||
mkdir -p "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
cp -r lib/* "$(DESTDIR)$(PRIVLIB_EXP)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue