Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
690 B

name=gcc
version=5.2.0
enable_check=false
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version/$name-$version.tar.bz2" \
"a51bcfeb3da7dd4c623e27207ed43467"
header_end
mkdir "$name-build"; cd "$name-build"
SED=sed "../$name-$version/configure" --prefix=/usr --enable-languages=c,c++ --with-system-zlib --disable-bootstrap --disable-multilib
make
if do_check; then
ulimit -s 32768
make -k check
fi
make DESTDIR="$dir_install" install
ln -s gcc "$dir_install/usr/bin/cc"
mkdir -p "$dir_install/usr/lib/bfd-plugins"
ln -s "../../libexec/gcc/$(gcc -dumpmachine)/5.2.0/liblto_plugin.so" "$dir_install/usr/lib/bfd-plugins/"
# vim:set tabstop=4 shiftwidth=4 syntax=sh et: