add curl and rsync

This commit is contained in:
Ohio2 2021-07-19 08:45:18 +02:00
parent a9e5b3a844
commit 54c9968328
9 changed files with 75 additions and 5 deletions

View file

@ -2,4 +2,4 @@ pkg_config_deploy=true
pkg_config_ver="1.33.1" pkg_config_ver="1.33.1"
pkg_config_name="busybox" pkg_config_name="busybox"
pkg_config_makedepends="" pkg_config_makedepends=""
pkg_config_depends="curses-lib" pkg_config_depends="curses-lib rsync"

View file

@ -4,6 +4,6 @@ cd clang-12.0.1.src
mkdir build mkdir build
cd build cd build
cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm cmake -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ..
make make
make DESTDIR="$1" install make DESTDIR="$1" install

7
curl/build Executable file
View file

@ -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

5
curl/package Executable file
View file

@ -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"

View file

@ -2,4 +2,4 @@ pkg_config_deploy=true
pkg_config_ver="2.9.5" pkg_config_ver="2.9.5"
pkg_config_name="git" pkg_config_name="git"
pkg_config_makedepends="openssl" pkg_config_makedepends="openssl"
pkg_config_depends="openssl" pkg_config_depends="openssl curl"

View file

@ -4,7 +4,7 @@ cd llvm-12.0.1.src
mkdir build mkdir build
cmake -S llvm -B build -G 'Unix Makefiles' cmake -B build -G 'Unix Makefiles'
cd build cd build
make make
make DESTDIR="$1" install make DESTDIR="$1" install

View file

@ -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 tar -xf v1.10.2.tar.gz
cd ninja-1.10.2 cd ninja-1.10.2

53
rsync/build Executable file
View file

@ -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

5
rsync/package Executable file
View file

@ -0,0 +1,5 @@
pkg_config_deploy=true
pkg_config_ver="3.2.2"
pkg_config_name="rsync"
pkg_config_makedepends=""
pkg_config_depends=""