Merge pull request 'no prebuilt packages (gcc, git, make, openssl, xz, lzma, gz, binutils, zlib)' (#2) from Ohio2/repo:master into master

Reviewed-on: alnux/repo#2
This commit is contained in:
hippoz 2021-07-04 20:50:41 +03:00
commit da11f130d0
8 changed files with 50 additions and 0 deletions

13
gcc/build Normal file
View file

@ -0,0 +1,13 @@
wget -O gcc.tar.gz
tar -xf gcc.tar.gz
cd gcc
sed -i '/m64=/s/lib64/lib/' gcc/gcc/config/i386/t-linux64
sed -i 's/lib64/lib/' gcc/gcc/config/i386/linux64.h
mkdir build
cd build
../configure --prefix=/usr --enable-languages=c,c++,d,fortran,go,objc,obj-c++
make
make install DESTDIR="$1"
ln -s gcc "$1/usr/bin/cc"
install -Dm755 ../c99 "$1/usr/bin/c99"

5
gcc/package Normal file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.1"
pkg_config_name="gcc"
pkg_config_makedepends=""
pkg_config_depends=""

6
git/build Normal file
View file

@ -0,0 +1,6 @@
wget -O git.tar.xz https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.9.5.tar.xz
tar -xf git.tar.xz
cd git
./configure --prefix=/usr
make
make install DESTDIR="$1"

5
git/package Normal file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="2.9.5"
pkg_config_name="git"
pkg_config_makedepends="openssl"
pkg_config_depends="openssl"

4
make/build Normal file
View file

@ -0,0 +1,4 @@
export CFLAGS="$CFLAGS -static"
./configure --prefix=/usr
make
make DESTDIR="$1" install

5
make/package Normal file
View file

@ -0,0 +1,5 @@
pkg_config_deploy="true"
pkg_config_ver="0.1"
pkg_config_name="make"
pkg_config_makedepends=""
pkg_config_depends=""

7
openssl/build Normal file
View file

@ -0,0 +1,7 @@
wget -O openssl.tar.gz https://www.openssl.org/source/openssl-3.0.0-beta1.tar.gz
tar -xf openssl.tar.gz
cd openssl
chmod +x ./config
./config --prefix="/usr"
make
make install DESTDIR="$1"

5
openssl/package Normal file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="3.0.0-beta"
pkg_config_name="openssl"
pkg_config_makedepends=""
pkg_config_depends=""