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/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=""