deleted build folder

This commit is contained in:
ag-tsotetsi
2026-02-20 15:00:18 +02:00
parent 6324284d4d
commit 1b8d8766ca
44 changed files with 0 additions and 1247 deletions

View File

@@ -1,48 +0,0 @@
. "$PROJECTDIR/build/bash/package.env"
fetch $BASH_URL
cd "$SOURCES" && tar xf bash-$BASH_VERSION.tar.gz && cd bash-$BASH_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--build=$(sh support/config.guess) \
--host=$TARGET \
--without-bash-malloc > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
ln -sv bash "$SYSROOT/bin/sh"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/bash-$BASH_VERSION"

View File

@@ -1,7 +0,0 @@
export BASH_VERSION=5.3
IFS='.' read -r BASH_VERSION_MAJOR BASH_VERSION_MINOR <<< $BASH_VERSION
export BASH_VERSION_MAJOR BASH_VERSION_MINOR
export BASH_URL=https://mirror.ufs.ac.za/gnu/bash/bash-$BASH_VERSION.tar.gz

View File

@@ -1,70 +0,0 @@
. "$PROJECTDIR/build/binutils/package.env"
fetch $BINUTILS_URL
cd "$SOURCES" && tar xf binutils-$BINUTILS_VERSION.tar.xz && cd binutils-$BINUTILS_VERSION
bootstrap() {
mkdir -p build && cd build
../configure \
--prefix="$SYSROOT/cross" \
--with-sysroot="$SYSROOT" \
--target=$TARGET \
--disable-nls \
--enable-gprofng=no \
--disable-werror \
--enable-new-dtags \
--enable-default-hash-style=gnu > /dev/null
make > /dev/null && make install > /dev/null
}
toolchain() {
sed '6031s/$add_dir//' -i ltmain.sh
mkdir -p build && cd build
../configure \
--prefix=/usr \
--build=$(../config.guess) \
--host=$TARGET \
--disable-nls \
--enable-shared \
--enable-gprofng=no \
--disable-werror \
--enable-64-bit-bfd \
--enable-new-dtags \
--enable-default-hash-style=gnu > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
rm "$SYSROOT"/usr/lib/lib{bfd,ctf,ctf-nobfd,opcodes,sframe}.{a,la}
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/binutils-$BINUTILS_VERSION"

View File

@@ -1,7 +0,0 @@
export BINUTILS_VERSION=2.45.1
IFS='.' read -r BINUTILS_VERSION_MAJOR BINUTILS_VERSION_MINOR BINUTILS_VERSION_PATCH <<< $BINUTILS_VERSION
export BINUTILS_VERSION_MAJOR BINUTILS_VERSION_MINOR BINUTILS_VERSION_PATCH
export BINUTILS_URL=https://mirror.ufs.ac.za/gnu/binutils/binutils-$BINUTILS_VERSION.tar.xz

View File

@@ -1,52 +0,0 @@
. "$PROJECTDIR/build/coreutils/package.env"
fetch $COREUTILS_URL
cd "$SOURCES" && tar xf coreutils-$COREUTILS_VERSION.tar.xz && cd coreutils-$COREUTILS_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' -i $(find -name \*.in.h)
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) \
--enable-install-program=hostname \
--enable-no-install-program=kill,uptime > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
mv "$SYSROOT/usr/bin/chroot" "$SYSROOT/usr/sbin"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/coreutils-$COREUTILS_VERSION"

View File

@@ -1,7 +0,0 @@
export COREUTILS_VERSION=9.9
IFS='.' read -r COREUTILS_VERSION_MAJOR COREUTILS_VERSION_MINOR <<< $COREUTILS_VERSION
export COREUTILS_VERSION_MAJOR COREUTILS_VERSION_MINOR
export COREUTILS_URL=https://mirror.ufs.ac.za/gnu/coreutils/coreutils-$COREUTILS_VERSION.tar.xz

View File

@@ -1,47 +0,0 @@
. "$PROJECTDIR/build/diffutils/package.env"
fetch $DIFFUTILS_URL
cd "$SOURCES" && tar xf diffutils-$DIFFUTILS_VERSION.tar.xz && cd diffutils-$DIFFUTILS_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
gl_cv_func_strcasecmp_works=y \
--build=$(./build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/diffutils-$DIFFUTILS_VERSION"

View File

@@ -1,7 +0,0 @@
export DIFFUTILS_VERSION=3.12
IFS='.' read -r DIFFUTILS_VERSION_MAJOR DIFFUTILS_VERSION_MINOR <<< $DIFFUTILS_VERSION
export DIFFUTILS_VERSION_MAJOR DIFFUTILS_VERSION_MINOR
export DIFFUTILS_URL=https://mirror.ufs.ac.za/gnu/diffutils/diffutils-$DIFFUTILS_VERSION.tar.xz

View File

@@ -1,58 +0,0 @@
. "$PROJECTDIR/build/file/package.env"
fetch $FILE_URL
cd "$SOURCES" && tar xf file-$FILE_VERSION.tar.gz && cd file-$FILE_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
mkdir -p build
pushd build
../configure \
--disable-bzlib \
--disable-libseccomp \
--disable-xzlib \
--disable-zlib > /dev/null
make > /dev/null
popd
./configure \
--prefix=/usr \
--host="$TARGET" \
--build=$(./config.guess) > /dev/null
make FILE_COMPILE="$(pwd)/build/src/file" > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
rm "$SYSROOT/usr/lib/libmagic.la"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/file-$FILE_VERSION"

View File

@@ -1,7 +0,0 @@
export FILE_VERSION=5.46
IFS='.' read -r FILE_VERSION_MAJOR FILE_VERSION_MINOR <<< $FILE_VERSION
export FILE_VERSION_MAJOR FILE_VERSION_MINOR
export FILE_URL=https://astron.com/pub/file/file-$FILE_VERSION.tar.gz

View File

@@ -1,48 +0,0 @@
. "$PROJECTDIR/build/findutils/package.env"
fetch $FINDUTILS_URL
cd "$SOURCES" && tar xf findutils-$FINDUTILS_VERSION.tar.xz && cd findutils-$FINDUTILS_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--localstatedir=/var/lib/locate \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/findutils-$FINDUTILS_VERSION"

View File

@@ -1,7 +0,0 @@
export FINDUTILS_VERSION=4.10.0
IFS='.' read -r FINDUTILS_VERSION_MAJOR FINDUTILS_VERSION_MINOR FINDUTILS_VERSION_PATCH <<< $FINDUTILS_VERSION
export FINDUTILS_VERSION_MAJOR FINDUTILS_VERSION_MINOR FINDUTILS_VERSION_PATCH
export FINDUTILS_URL=https://mirror.ufs.ac.za/gnu/findutils/findutils-$FINDUTILS_VERSION.tar.xz

View File

@@ -1,49 +0,0 @@
. "$PROJECTDIR/build/gawk/package.env"
fetch $GAWK_URL
cd "$SOURCES" && tar xf gawk-$GAWK_VERSION.tar.xz && cd gawk-$GAWK_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
sed -i 's/extras//' Makefile.in
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/gawk-$GAWK_VERSION"

View File

@@ -1,7 +0,0 @@
export GAWK_VERSION=5.3.2
IFS='.' read -r GAWK_VERSION_MAJOR GAWK_VERSION_MINOR GAWK_VERSION_PATCH <<< $GAWK_VERSION
export GAWK_VERSION_MAJOR GAWK_VERSION_MINOR GAWK_VERSION_PATCH
export GAWK_URL=https://mirror.ufs.ac.za/gnu/gawk/gawk-$GAWK_VERSION.tar.xz

View File

@@ -1,114 +0,0 @@
. "$PROJECTDIR/build/gcc/package.env"
. "$PROJECTDIR/build/gmp/package.env"
. "$PROJECTDIR/build/isl/package.env"
. "$PROJECTDIR/build/mpc/package.env"
. "$PROJECTDIR/build/mpfr/package.env"
fetch $GCC_URL
fetch $GMP_URL
fetch $ISL_URL
fetch $MPC_URL
fetch $MPFR_URL
cd "$SOURCES" && tar xf gcc-$GCC_VERSION.tar.xz && cd gcc-$GCC_VERSION
bootstrap() {
tar xf ../gmp-$GMP_VERSION.tar.xz && mv gmp-$GMP_VERSION gmp
tar xf ../isl-$ISL_VERSION.tar.xz && mv isl-$ISL_VERSION isl
tar xf ../mpc-$MPC_VERSION.tar.gz && mv mpc-$MPC_VERSION mpc
tar xf ../mpfr-$MPFR_VERSION.tar.xz && mv mpfr-$MPFR_VERSION mpfr
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
mkdir -p build && cd build
../configure \
--target=$TARGET \
--prefix="$SYSROOT/cross" \
--with-glibc-version=2.43 \
--with-sysroot="$SYSROOT" \
--with-newlib \
--without-headers \
--enable-default-pie \
--enable-default-ssp \
--disable-nls \
--disable-shared \
--disable-multilib \
--disable-threads \
--disable-libatomic \
--disable-libgomp \
--disable-libquadmath \
--disable-libssp \
--disable-libvtv \
--disable-libstdcxx \
--enable-languages=c,c++ > /dev/null
make > /dev/null && make install > /dev/null
cd ..
cat gcc/limitx.h gcc/glimits.h gcc/limity.h > "`dirname $($TARGET-gcc -print-libgcc-file-name)`/include/limits.h"
}
toolchain() {
tar xf ../gmp-$GMP_VERSION.tar.xz && mv gmp-$GMP_VERSION gmp
tar xf ../isl-$ISL_VERSION.tar.xz && mv isl-$ISL_VERSION isl
tar xf ../mpc-$MPC_VERSION.tar.gz && mv mpc-$MPC_VERSION mpc
tar xf ../mpfr-$MPFR_VERSION.tar.xz && mv mpfr-$MPFR_VERSION mpfr
sed -e '/m64=/s/lib64/lib/' -i.orig gcc/config/i386/t-linux64
sed '/thread_header =/s/@.*@/gthr-posix.h/' -i libgcc/Makefile.in libstdc++-v3/include/Makefile.in
mkdir -p build && cd build
../configure \
--build=$(../config.guess) \
--host=$TARGET \
--target=$TARGET \
--prefix=/usr \
--with-build-sysroot="$SYSROOT" \
--enable-default-pie \
--enable-default-ssp \
--disable-nls \
--disable-multilib \
--disable-libatomic \
--disable-libgomp \
--disable-libquadmath \
--disable-libsanitizer \
--disable-libssp \
--disable-libvtv \
--enable-languages=c,c++ \
LDFLAGS_FOR_TARGET=-L"$PWD/$TARGET/libgcc" > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
ln -s gcc "$SYSROOT/usr/bin/cc"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/gcc-$GCC_VERSION"

View File

@@ -1,7 +0,0 @@
export GCC_VERSION=15.2.0
IFS='.' read -r GCC_VERSION_MAJOR GCC_VERSION_MINOR GCC_VERSION_PATCH <<< $GCC_VERSION
export GCC_VERSION_MAJOR GCC_VERSION_MINOR GCC_VERSION_PATCH
export GCC_URL=https://mirror.ufs.ac.za/gnu/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz

View File

@@ -1,61 +0,0 @@
. "$PROJECTDIR/build/glibc/package.env"
fetch $GLIBC_URL
fetch https://www.linuxfromscratch.org/patches/lfs/development/glibc-fhs-1.patch
cd "$SOURCES" && tar xf glibc-$GLIBC_VERSION.tar.xz && cd glibc-$GLIBC_VERSION
bootstrap() {
ln -sf ld-linux-x86-64.so.2 "$SYSROOT/lib/ld-lsb-x86-64.so.3"
patch -Np1 -i "$SOURCES/glibc-fhs-1.patch"
mkdir -p build && cd build
echo "rootsbindir=/usr/sbin" > configparms
../configure \
--prefix=/usr \
--host=$TARGET \
--build=$(../scripts/config.guess) \
--disable-nscd \
libc_cv_slibdir=/usr/lib \
--enable-kernel=6.18 > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
sed '/RTLDLIST=/s@/usr@@g' -i "$SYSROOT/usr/bin/ldd"
}
toolchain() {
echo toolchain
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/glibc-$GLIBC_VERSION"

View File

@@ -1,8 +0,0 @@
export GLIBC_VERSION=2.43
IFS='.' read -r GLIBC_VERSION_MAJOR GLIBC_VERSION_MINOR <<< $GLIBC_VERSION
export GLIBC_VERSION_MAJOR GLIBC_VERSION_MINOR
export GLIBC_URL=https://mirror.ufs.ac.za/gnu/glibc/glibc-$GLIBC_VERSION.tar.xz
6.0

View File

@@ -1,7 +0,0 @@
export GMP_VERSION=6.3.0
IFS='.' read -r GMP_VERSION_MAJOR GMP_VERSION_MINOR GMP_VERSION_PATCH <<< $GMP_VERSION
export GMP_VERSION_MAJOR GMP_VERSION_MINOR GMP_VERSION_PATCH
export GMP_URL=https://mirror.ufs.ac.za/gnu/gmp/gmp-$GMP_VERSION.tar.xz

View File

@@ -1,42 +0,0 @@
. "$PROJECTDIR/build/grep/package.env"
fetch $GREP_URL
cd "$SOURCES" && tar xf grep-$GREP_VERSION.tar.xz && cd grep-$GREP_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/grep-$GREP_VERSION"

View File

@@ -1,7 +0,0 @@
export GREP_VERSION=3.12
IFS='.' read -r GREP_VERSION_MAJOR GREP_VERSION_MINOR <<< $GREP_VERSION
export GREP_VERSION_MAJOR GREP_VERSION_MINOR
export GREP_URL=https://mirror.ufs.ac.za/gnu/grep/grep-$GREP_VERSION.tar.xz

View File

@@ -1,42 +0,0 @@
. "$PROJECTDIR/build/gzip/package.env"
fetch $GZIP_URL
cd "$SOURCES" && tar xf gzip-$GZIP_VERSION.tar.xz && cd gzip-$GZIP_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/gzip-$GZIP_VERSION"

View File

@@ -1,7 +0,0 @@
export GZIP_VERSION=1.14
IFS='.' read -r GZIP_VERSION_MAJOR GZIP_VERSION_MINOR <<< $GZIP_VERSION
export GZIP_VERSION_MAJOR GZIP_VERSION_MINOR
export GZIP_URL=https://mirror.ufs.ac.za/gnu/gzip/gzip-$GZIP_VERSION.tar.xz

View File

@@ -1,7 +0,0 @@
export ISL_VERSION=0.27
IFS='.' read -r ISL_VERSION_MAJOR ISL_VERSION_MINOR <<< $ISL_VERSION
export ISL_VERSION_MAJOR ISL_VERSION_MINOR
export ISL_URL=https://libisl.sourceforge.io/isl-$ISL_VERSION.tar.xz

View File

@@ -1,52 +0,0 @@
. "$PROJECTDIR/build/gcc/package.env"
fetch $GCC_URL
cd "$SOURCES" && tar xf gcc-$GCC_VERSION.tar.xz && cd gcc-$GCC_VERSION
bootstrap() {
mkdir -p build && cd build
../libstdc++-v3/configure \
--host=$TARGET \
--build=$(../config.guess) \
--prefix=/usr \
--disable-multilib \
--disable-nls \
--disable-libstdcxx-pch \
--with-gxx-include-dir=/cross/$TARGET/include/c++/$GCC_VERSION > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
rm "$SYSROOT"/usr/lib/lib{stdc++{,exp,fs},supc++}.la
}
toolchain() {
echo toolchain
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/gcc-$GCC_VERSION"

View File

@@ -1,7 +0,0 @@
export GCC_VERSION=15.2.0
IFS='.' read -r GCC_VERSION_MAJOR GCC_VERSION_MINOR GCC_VERSION_PATCH <<< $GCC_VERSION
export GCC_VERSION_MAJOR GCC_VERSION_MINOR GCC_VERSION_PATCH
export GCC_URL=https://mirror.ufs.ac.za/gnu/gcc/gcc-$GCC_VERSION/gcc-$GCC_VERSION.tar.xz

View File

@@ -1,43 +0,0 @@
. "$PROJECTDIR/build/linux/package.env"
fetch $LINUX_URL
cd "$SOURCES" && tar xf linux-$LINUX_VERSION.tar.xz && cd linux-$LINUX_VERSION
make mrproper
bootstrap() {
make headers
find usr/include -type f ! -name '*.h' -delete
cp -r usr/include "$SYSROOT/usr"
}
toolchain() {
echo toolchain
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/linux-$LINUX_VERSION"

View File

@@ -1,7 +0,0 @@
export LINUX_VERSION=6.18.7
IFS='.' read -r LINUX_VERSION_MAJOR LINUX_VERSION_MINOR LINUX_VERSION_PATCH <<< $LINUX_VERSION
export LINUX_VERSION_MAJOR LINUX_VERSION_MINOR LINUX_VERSION_PATCH
export LINUX_URL=https://cdn.kernel.org/pub/linux/kernel/v$LINUX_VERSION_MAJOR.x/linux-$LINUX_VERSION.tar.xz

View File

@@ -1,48 +0,0 @@
. "$PROJECTDIR/build/m4/package.env"
fetch $M4_URL
cd "$SOURCES" && tar xf m4-$M4_VERSION.tar.xz && cd m4-$M4_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
sed -r '/_GL_EXTERN_C/s/w?memchr|bsearch/(&)/' -i $(find -name \*.in.h)
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/m4-$M4_VERSION"

View File

@@ -1,7 +0,0 @@
export M4_VERSION=1.4.20
IFS='.' read -r M4_VERSION_MAJOR M4_VERSION_MINOR <<< $M4_VERSION
export M4_VERSION_MAJOR M4_VERSION_MINOR
export M4_URL=https://mirror.ufs.ac.za/gnu/m4/m4-$M4_VERSION.tar.xz

View File

@@ -1,47 +0,0 @@
. "$PROJECTDIR/build/make/package.env"
fetch $MAKE_URL
cd "$SOURCES" && tar xf make-$MAKE_VERSION.tar.gz && cd make-$MAKE_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/make-$MAKE_VERSION"

View File

@@ -1,7 +0,0 @@
export MAKE_VERSION=4.4.1
IFS='.' read -r MAKE_VERSION_MAJOR MAKE_VERSION_MINOR MAKE_VERSION_PATCH <<< $MAKE_VERSION
export MAKE_VERSION_MAJOR MAKE_VERSION_MINOR MAKE_VERSION_PATCH
export MAKE_URL=https://mirror.ufs.ac.za/gnu/make/make-$MAKE_VERSION.tar.gz

View File

@@ -1,7 +0,0 @@
export MPC_VERSION=1.3.1
IFS='.' read -r MPC_VERSION_MAJOR MPC_VERSION_MINOR MPC_VERSION_PATCH <<< $MPC_VERSION
export MPC_VERSION_MAJOR MPC_VERSION_MINOR MPC_VERSION_PATCH
export MPC_URL=https://mirror.ufs.ac.za/gnu/mpc/mpc-$MPC_VERSION.tar.gz

View File

@@ -1,7 +0,0 @@
export MPFR_VERSION=4.2.2
IFS='.' read -r MPFR_VERSION_MAJOR MPFR_VERSION_MINOR MPFR_VERSION_PATCH <<< $MPFR_VERSION
export MPFR_VERSION_MAJOR MPFR_VERSION_MINOR MPFR_VERSION_PATCH
export MPFR_URL=https://mirror.ufs.ac.za/gnu/mpfr/mpfr-$MPFR_VERSION.tar.xz

View File

@@ -1,65 +0,0 @@
. "$PROJECTDIR/build/ncurses/package.env"
fetch $NCURSES_URL
cd "$SOURCES" && tar xf ncurses-$NCURSES_VERSION.tar.gz && cd ncurses-$NCURSES_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
mkdir -p build
pushd build
../configure --prefix="$SYSROOT/cross" AWK=gawk > /dev/null
make -C include > /dev/null
make -C progs tic > /dev/null
install progs/tic "$SYSROOT/cross/bin"
popd
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(./config.guess) \
--mandir=/usr/share/man \
--with-manpage-format=normal \
--with-shared \
--without-normal \
--with-cxx-shared \
--without-debug \
--without-ada \
--disable-stripping \
AWK=gawk > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
ln -s libncursesw.so "$SYSROOT/usr/lib/libncurses.so"
sed -e 's/^#if.*XOPEN.*$/#if 1/' -i "$SYSROOT/usr/include/curses.h"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/ncurses-$NCURSES_VERSION"

View File

@@ -1,7 +0,0 @@
export NCURSES_VERSION=6.6
IFS='.' read -r NCURSES_VERSION_MAJOR NCURSES_VERSION_MINOR NCURSES_VERSION_PATCH <<< $NCURSES_VERSION
export NCURSES_VERSION_MAJOR NCURSES_VERSION_MINOR NCURSES_VERSION_PATCH
export NCURSES_URL=https://mirror.ufs.ac.za/gnu/ncurses/ncurses-$NCURSES_VERSION.tar.gz

View File

@@ -1,48 +0,0 @@
`. "$PROJECTDIR/build/patch/package.env"
fetch $PATCH_URL
cd "$SOURCES" && tar xf patch-$PATCH_VERSION.tar.xz && cd patch-$PATCH_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/patch-$PATCH_VERSION"
`

View File

@@ -1,7 +0,0 @@
export PATCH_VERSION=2.8
IFS='.' read -r PATCH_VERSION_MAJOR PATCH_VERSION_MINOR <<< $PATCH_VERSION
export PATCH_VERSION_MAJOR PATCH_VERSION_MINOR
export PATCH_URL=https://mirror.ufs.ac.za/gnu/patch/patch-$PATCH_VERSION.tar.xz

View File

@@ -1,47 +0,0 @@
. "$PROJECTDIR/build/sed/package.env"
fetch $SED_URL
cd "$SOURCES" && tar xf sed-$SED_VERSION.tar.xz && cd sed-$SED_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/sed-$SED_VERSION"

View File

@@ -1,7 +0,0 @@
export SED_VERSION=4.9
IFS='.' read -r SED_VERSION_MAJOR SED_VERSION_MINOR <<< $SED_VERSION
export SED_VERSION_MAJOR SED_VERSION_MINOR
export SED_URL=https://mirror.ufs.ac.za/gnu/sed/sed-$SED_VERSION.tar.xz

View File

@@ -1,47 +0,0 @@
. "$PROJECTDIR/build/tar/package.env"
fetch $TAR_URL
cd "$SOURCES" && tar xf tar-$TAR_VERSION.tar.xz && cd tar-$TAR_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/tar-$TAR_VERSION"

View File

@@ -1,7 +0,0 @@
export TAR_VERSION=1.35
IFS='.' read -r TAR_VERSION_MAJOR TAR_VERSION_MINOR <<< $TAR_VERSION
export TAR_VERSION_MAJOR TAR_VERSION_MINOR
export TAR_URL=https://mirror.ufs.ac.za/gnu/tar/tar-$TAR_VERSION.tar.xz

View File

@@ -1,50 +0,0 @@
. "$PROJECTDIR/build/xz/package.env"
fetch $XZ_URL
cd "$SOURCES" && tar xf xz-$XZ_VERSION.tar.xz && cd xz-$XZ_VERSION
bootstrap() {
echo bootstrap
}
toolchain() {
./configure \
--prefix=/usr \
--host=$TARGET \
--build=$(build-aux/config.guess) \
--disable-static > /dev/null
make > /dev/null && make DESTDIR="$SYSROOT" install > /dev/null
rm "$SYSROOT/usr/lib/liblzma.la"
}
setup() {
echo setup
}
final() {
echo final
}
case $1 in
bootstrap)
bootstrap
;;
toolchain)
toolchain
;;
setup)
setup
;;
final)
final
;;
esac
rm -rf "$SOURCES/xz-$XZ_VERSION"

View File

@@ -1,7 +0,0 @@
export XZ_VERSION=5.8.2
IFS='.' read -r XZ_VERSION_MAJOR XZ_VERSION_MINOR XZ_VERSION_PATCH <<< $XZ_VERSION
export XZ_VERSION_MAJOR XZ_VERSION_MINOR XZ_VERSION_PATCH
export XZ_URL=https://github.com//tukaani-project/xz/releases/download/v$XZ_VERSION/xz-$XZ_VERSION.tar.xz