mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-04-16 16:32:17 +02:00
feat(guix-seeds): add static sed-4.5 to bootstrap binaries
This commit is contained in:
parent
98a3a8b883
commit
654236224b
4 changed files with 25 additions and 0 deletions
|
|
@ -51,6 +51,7 @@ build: guile-semver-0.2.0
|
|||
build: coreutils-8.30
|
||||
build: gawk-4.2.1
|
||||
build: grep-3.1
|
||||
build: sed-4.5
|
||||
build: tar-1.30
|
||||
build: xz-5.2.4
|
||||
build: gzip-1.9
|
||||
|
|
|
|||
22
steps-guix/sed-4.5/pass1.sh
Normal file
22
steps-guix/sed-4.5/pass1.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
SEED_PREFIX="/bootstrap-seeds/sed-4.5"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CFLAGS="-O2" LDFLAGS="-static" ./configure \
|
||||
--prefix="${SEED_PREFIX}" \
|
||||
--disable-nls \
|
||||
--disable-shared
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${DESTDIR}" install
|
||||
}
|
||||
1
steps-guix/sed-4.5/sources
Normal file
1
steps-guix/sed-4.5/sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
f https://ftp.gnu.org/gnu/sed/sed-4.5.tar.xz 7aad73c8839c2bdadca9476f884d2953cdace9567ecd0d90f9959f229d146b40
|
||||
|
|
@ -20,6 +20,7 @@ src_compile() {
|
|||
cp -a /bootstrap-seeds/grep-3.1/bin/grep "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/grep-3.1/bin/egrep "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/grep-3.1/bin/fgrep "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/sed-4.5/bin/sed "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/tar-1.30/bin/tar "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/xz-5.2.4/bin/xz "${stage}/bin/"
|
||||
cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue