diff --git a/binutils/build b/binutils/build index 58f79ee..4feaa27 100755 --- a/binutils/build +++ b/binutils/build @@ -1,6 +1,6 @@ -wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz -tar -xf binutils-2.36.1.tar.xz -cd binutils-2.36.1 +wget -O binutils-2.37.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz +tar -xf binutils-2.37.tar.xz +cd binutils-2.37 chmod +x makeinfo export PATH=$PATH:$PWD diff --git a/binutils/package b/binutils/package index 434a2d6..add7919 100755 --- a/binutils/package +++ b/binutils/package @@ -1,5 +1,5 @@ pkg_config_deploy=true -pkg_config_ver="2.36.1" +pkg_config_ver="2.37" pkg_config_name="binutils" pkg_config_makedepends="" pkg_config_depends="" diff --git a/busybox/package b/busybox/package index eabbf5a..25df421 100755 --- a/busybox/package +++ b/busybox/package @@ -2,4 +2,4 @@ pkg_config_deploy=true pkg_config_ver="1.33.1" pkg_config_name="busybox" pkg_config_makedepends="" -pkg_config_depends="curses-lib" +pkg_config_depends="curses-lib rsync" diff --git a/clang/build b/clang/build index 3ddee0e..0056c65 100755 --- a/clang/build +++ b/clang/build @@ -4,6 +4,6 @@ cd clang-12.0.1.src mkdir build cd build -cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm +cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" .. make make DESTDIR="$1" install diff --git a/curl/build b/curl/build new file mode 100755 index 0000000..b5f981d --- /dev/null +++ b/curl/build @@ -0,0 +1,7 @@ +wget https://curl.se/download/curl-7.77.0.tar.bz2 +tar -xf curl-7.77.0.tar.bz2 +cd curl-7.77.0 + +./configure --with-openssl +make +make DESTDIR="$1" install diff --git a/curl/package b/curl/package new file mode 100755 index 0000000..7b98de9 --- /dev/null +++ b/curl/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="7.77.0" +pkg_config_name="curl" +pkg_config_makedepends="openssl" +pkg_config_depends="openssl" diff --git a/git/package b/git/package index 3162f83..d03871b 100755 --- a/git/package +++ b/git/package @@ -2,4 +2,4 @@ pkg_config_deploy=true pkg_config_ver="2.9.5" pkg_config_name="git" pkg_config_makedepends="openssl" -pkg_config_depends="openssl" +pkg_config_depends="openssl curl" diff --git a/llvm/build b/llvm/build index 5a47991..c3ccfe6 100755 --- a/llvm/build +++ b/llvm/build @@ -4,7 +4,7 @@ cd llvm-12.0.1.src mkdir build -cmake -S llvm -B build -G 'Unix Makefiles' +cmake -B build -G 'Unix Makefiles' cd build make make DESTDIR="$1" install diff --git a/meson/build b/meson/build index 93d7f34..aa4dcea 100755 --- a/meson/build +++ b/meson/build @@ -1,5 +1,5 @@ -wget https://github.com/mesonbuild/meson/releases/download/0.58.1/meson-0.58.1.tar.gz -tar -xf meson-0.58.1.tar.gz -cd meson-0.58.1 +wget https://github.com/mesonbuild/meson/releases/download/0.59.0/meson-0.58.1.tar.gz +tar -xf meson-0.59.0.tar.gz +cd meson-0.59.0 pip3 install $1 diff --git a/meson/package b/meson/package index 8f1a063..c24e590 100755 --- a/meson/package +++ b/meson/package @@ -1,5 +1,5 @@ pkg_config_deploy=true -pkg_config_ver="0.58.1" +pkg_config_ver="0.59.0" pkg_config_name="meson" pkg_config_makedepends="python ninja " pkg_config_depends="" diff --git a/ninja/build b/ninja/build index cf1ea5e..f5b5fa6 100755 --- a/ninja/build +++ b/ninja/build @@ -1,4 +1,4 @@ -git clone https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz +wget https://github.com/ninja-build/ninja/archive/refs/tags/v1.10.2.tar.gz tar -xf v1.10.2.tar.gz cd ninja-1.10.2 diff --git a/rsync/build b/rsync/build new file mode 100755 index 0000000..a1ad164 --- /dev/null +++ b/rsync/build @@ -0,0 +1,53 @@ +wget https://download.samba.org/pub/rsync/src/rsync-3.2.2.tar.gz +tar -xf rsync-3.2.2.tar.gz +cd rsync-3.2.2 + +cat > mkproto.awk << "EOF" +#!/usr/bin/awk -f + +BEGIN { + while ((getline i < "proto.h") > 0) old_protos = old_protos ? old_protos "\n" i : i + protos = "/* This file is automatically generated with \"make proto\". DO NOT EDIT */\n" +} + +inheader { + protos = protos "\n" ((inheader = /\)[ \t]*$/ ? 0 : 1) ? $0 : $0 ";") + next +} + +/^FN_(LOCAL|GLOBAL)_[^(]+\([^,()]+/ { + local = /^FN_LOCAL/ + gsub(/^FN_(LOC|GLOB)AL_|,.*$/, "") + sub(/^BOOL\(/, "BOOL ") + sub(/^CHAR\(/, "char ") + sub(/^INTEGER\(/, "int ") + sub(/^STRING\(/, "char *") + protos = protos "\n" $0 (local ? "(int module_id);" : "(void);") + next +} + +/^static|^extern|;/||!/^[A-Za-z][A-Za-z0-9_]* / { next } + +/\(.*\)[ \t]*$/ { + protos = protos "\n" $0 ";" + next +} + +/\(/ { + inheader = 1 + protos = protos "\n" $0 +} + +END { + if (old_protos != protos) print protos > "proto.h" + print "" > "proto.h-tstamp" +} +EOF + +sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _ +mv -f _ Makefile.in +export CFLAGS="-static $CFLAGS" + +./configure --prefix=/usr --with-included-popt --disable-xxhash --disable-zstd --disable-lz4 --without-included-zlib +make +make DESTDIR="$1" install diff --git a/rsync/package b/rsync/package new file mode 100755 index 0000000..f584317 --- /dev/null +++ b/rsync/package @@ -0,0 +1,5 @@ +pkg_config_deploy=true +pkg_config_ver="3.2.2" +pkg_config_name="rsync" +pkg_config_makedepends="" +pkg_config_depends=""