mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
Change sources getting method.
- Rather than defining the urls where they are gotten (python sysa, python sysc, inside sysc), a spec file is now used that is easily interpretable and tool-independent. - This is interpreted by rootfs.py and inside sysc. - This is also used to make sources available and extract sources. - Manual dirname selection is no longer required as is tarball renaming upon download - all of this is handled automatically. Fixes #188
This commit is contained in:
parent
64ae760529
commit
10a55522a2
171 changed files with 295 additions and 705 deletions
|
|
@ -1,28 +1,15 @@
|
|||
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
|
||||
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
urls="https://mirrors.kernel.org/gnu/autogen/rel5.18.16/autogen-5.18.16.tar.xz
|
||||
https://git.savannah.gnu.org/cgit/autogen.git/snapshot/autogen-5.18.16.tar.gz
|
||||
https://github.com/schierlm/gnu-autogen-bootstrapping/archive/refs/tags/autogen-5.18.16-v1.0.tar.gz
|
||||
http://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-8f4538a5.tar.gz"
|
||||
|
||||
src_unpack() {
|
||||
tar --no-same-owner -xf "${DISTFILES}/autogen-5.18.16-v1.0.tar.gz"
|
||||
tar --no-same-owner -xf "${DISTFILES}/gnulib-8f4538a5.tar.gz"
|
||||
local build_dir=gnu-autogen-bootstrapping-autogen-5.18.16-v1.0/build
|
||||
mkdir -p "${build_dir}"
|
||||
cp "${DISTFILES}/autogen-5.18.16.tar.xz" "${build_dir}"
|
||||
cp "${DISTFILES}/autogen-5.18.16.tar.gz" "${build_dir}"
|
||||
pushd "${build_dir}"
|
||||
tar --no-same-owner -xf autogen-5.18.16.tar.gz
|
||||
mv autogen-5.18.16 src
|
||||
rm -f src/add-on/char-mapper/cm.tar
|
||||
popd
|
||||
}
|
||||
noextract="autogen-5.18.16.tar.xz"
|
||||
|
||||
src_prepare() {
|
||||
:
|
||||
mkdir build
|
||||
mv ../autogen-5.18.16 build/src
|
||||
mv ../autogen-5.18.16.tar.xz build/
|
||||
rm -f build/src/add-on/char-mapper/cm.tar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
|
|
|||
4
sysc/autogen-5.18.16/sources
Normal file
4
sysc/autogen-5.18.16/sources
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
https://github.com/schierlm/gnu-autogen-bootstrapping/archive/refs/tags/autogen-5.18.16-v1.0.tar.gz 98ff63400dff5282017c33e4ec3c93da8a92a5260340da253e59bd6eef18d116
|
||||
https://mirrors.kernel.org/gnu/autogen/rel5.18.16/autogen-5.18.16.tar.xz f8a13466b48faa3ba99fe17a069e71c9ab006d9b1cfabe699f8c60a47d5bb49a
|
||||
https://git.savannah.gnu.org/cgit/autogen.git/snapshot/autogen-5.18.16.tar.gz 0c04ab2f7ce13c4a1c06c4abc7dfe75312aad89b8b0a1068e5e563787eb56632
|
||||
http://git.savannah.gnu.org/cgit/gnulib.git/snapshot/gnulib-8f4538a5.tar.gz e207c0bb72093c3a72dde302fcfaa1dbda12a62172d47b73565883a92209ebab
|
||||
Loading…
Add table
Add a link
Reference in a new issue