diff --git a/src/build.sh b/src/build.sh index 2fdb64a..bb9678b 100644 --- a/src/build.sh +++ b/src/build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env nix-shell #! nix-shell -i bash -#! nix-shell -p bash curl gcc zlib libffi icu77 +#! nix-shell -p bash curl gcc zlib libffi icu77 python314 SUBVERSION="140.4.0" VERSION="${SUBVERSION}esr" DOWNLOAD="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/source/firefox-$VERSION.source.tar.xz" @@ -8,23 +8,31 @@ BUILDPATH=$(realpath .) mkdir bin #debug stuff +echo Version: echo $VERSION +echo Link: echo $DOWNLOAD +echo Build Location: echo $BUILDPATH #unzip this or something -curl -RO "$DOWNLOAD" +echo Downloading... +#curl -RO "$DOWNLOAD" +echo Unzipping Source... tar -xJf "firefox-$VERSION.source.tar.xz" cd "firefox-$SUBVERSION/js/src" +echo Making Build Path... mkdir _build cd _build +echo Configuring build... ../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \ --with-intl-api --enable-optimize +echo Compiling... make make install \ No newline at end of file