From 2bfbf11266807bdab58bfe2e471fa09ee6fe02b5 Mon Sep 17 00:00:00 2001 From: hippoz Date: Wed, 30 Jun 2021 00:40:13 +0300 Subject: [PATCH] fix misuse of git and add curl package --- binutils/Makefile | 3 ++- bison/Makefile | 5 +++-- curl/Makefile | 11 +++++++++++ 3 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 curl/Makefile diff --git a/binutils/Makefile b/binutils/Makefile index 95c0528..2086250 100644 --- a/binutils/Makefile +++ b/binutils/Makefile @@ -1,5 +1,6 @@ prepare: - git clone https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz binutils + wget -O binutils.tar.gz https://mirrors.nav.ro/gnu/binutils/binutils-2.10.1.tar.gz + tar -xf binutils.tar.gz cd binutils make: @../configure --prefix=${PREFIX}/usr \ diff --git a/bison/Makefile b/bison/Makefile index 6ae580c..f94db15 100644 --- a/bison/Makefile +++ b/bison/Makefile @@ -1,8 +1,9 @@ prepare: - git clone https://mirrors.nav.ro/gnu/bison/bison-1.25.tar.gz bison + wget -O bison.tar.gz https://mirrors.nav.ro/gnu/bison/bison-1.25.tar.gz + tar -xf bison.tar.gz cd bison make: - @./configure --prefix=${PREFIX}/USR + @./configure --prefix=${PREFIX}/usr make install: make install DESTDIR="${PREFIX}" diff --git a/curl/Makefile b/curl/Makefile new file mode 100644 index 0000000..ab98e22 --- /dev/null +++ b/curl/Makefile @@ -0,0 +1,11 @@ +prepare: + wget -O curl.tar.gz https://curl.se/download/curl-7.77.0.tar.gz + tar -xf curl.tar.gz + cd curl +make: + @./configure --prefix=${PREFIX}/usr --with-openssl + make +install: + make install DESTDIR="${PREFIX}" +uninstall: + make uninstall