mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Update dist, move earlier
This commit is contained in:
parent
a3e48fa302
commit
a5e363c2db
7 changed files with 9 additions and 7 deletions
32
steps/dist-3.5/pass1.sh
Executable file
32
steps/dist-3.5/pass1.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# We manually compile here because ./Configure uses metaconfig itself
|
||||
# *sigh*
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed 's/@PERLVER@/5.6.2/' config.sh.in > config.sh
|
||||
find . -name Makefile.SH -delete
|
||||
rm -f Configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd mcon
|
||||
./mconfig.SH
|
||||
perl ../bin/perload -o mconfig > metaconfig
|
||||
cd ..
|
||||
|
||||
cd kit
|
||||
./manifake.SH
|
||||
cd ..
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${DESTDIR}${PREFIX}/bin/" "${DESTDIR}${PREFIX}/lib/perl5/5.6.2"
|
||||
install mcon/metaconfig "${DESTDIR}${PREFIX}/bin/"
|
||||
install kit/manifake "${DESTDIR}${PREFIX}/bin/"
|
||||
cp -r mcon/U/ "${DESTDIR}${PREFIX}/lib/perl5/5.6.2/"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue