-
-
Save ericevenchick/31bf340e0a4bb278c82dbce1dd8350d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load("../lib.star", "plot") | |
load("../lib.star", "gnu_build_step") | |
load("../lib.star", "zapp_pack_step") | |
step_build = gnu_build_step( | |
src=("warpsys.org/bash", "v5.1.16", "src"), | |
script="""cd /src/* | |
./configure --prefix=/warpsys-placeholder-prefix | |
make | |
make DESTDIR=/out install""") | |
step_pack = zapp_pack_step( | |
binaries=["bash"], | |
libraries=[ | |
("warpsys.org/bootstrap/glibc", "libc.so.6"), | |
("warpsys.org/bootstrap/glibc", "libdl.so.2"), | |
("warpsys.org/bootstrap/glibc", "libm.so.6"), | |
], | |
extra_script="rm -rf /pack/lib/bash /pack/lib/pkgconfig /pack/include /pack/share") | |
result = plot(steps={"build": step_build, "pack": step_pack}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment