tidy up some existing packages and possibly fix gcc install

This commit is contained in:
hippoz 2021-06-30 01:08:42 +03:00
parent 19e01873b0
commit 481238bb91
4 changed files with 11 additions and 5 deletions

View file

@ -1,5 +1,6 @@
prepare:
git clone https://git.savannah.gnu.org/git/bash.git && cd bash
git clone https://git.savannah.gnu.org/git/bash.git
cd bash
bash:
make
install:

View file

@ -7,6 +7,7 @@ make:
--prefix=/usr \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
make
install:
make install DESTDIR="${PREFIX}"

View file

@ -1,8 +1,11 @@
prepare:
git clone git://gcc.gnu.org/git/gcc.git && cd gcc
git clone git://gcc.gnu.org/git/gcc.git
cd gcc
gcc:
./configure
mkdir build
cd build
./configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
install:
./install-sh
make install DESTDIR="${PREFIX}"
uninstall:
rm -rf /usr/bin/gcc

View file

@ -1,5 +1,6 @@
prepare:
git clone https://github.com/zsh-users/zsh.git && cd zsh
git clone https://github.com/zsh-users/zsh.git
cd zsh
zsh:
make
install: