diff --git a/steps-guix/manifest b/steps-guix/manifest index 7248730f..ba31bcc9 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -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 diff --git a/steps-guix/sed-4.5/pass1.sh b/steps-guix/sed-4.5/pass1.sh new file mode 100644 index 00000000..9e663519 --- /dev/null +++ b/steps-guix/sed-4.5/pass1.sh @@ -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 +} diff --git a/steps-guix/sed-4.5/sources b/steps-guix/sed-4.5/sources new file mode 100644 index 00000000..31e71b5a --- /dev/null +++ b/steps-guix/sed-4.5/sources @@ -0,0 +1 @@ +f https://ftp.gnu.org/gnu/sed/sed-4.5.tar.xz 7aad73c8839c2bdadca9476f884d2953cdace9567ecd0d90f9959f229d146b40 diff --git a/steps-guix/static-binaries-0-i686-linux/pass1.sh b/steps-guix/static-binaries-0-i686-linux/pass1.sh index 9334169c..996d1e26 100644 --- a/steps-guix/static-binaries-0-i686-linux/pass1.sh +++ b/steps-guix/static-binaries-0-i686-linux/pass1.sh @@ -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/"