Merge pull request 'add curl and rsync' (#32) from Ohio2/repo:master into master
Reviewed-on: #32
This commit is contained in:
commit
ee164b2911
13 changed files with 83 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
||||||
wget -O binutils-2.36.1.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
wget -O binutils-2.37.tar.xz https://ftp.gnu.org/gnu/binutils/binutils-2.36.1.tar.xz
|
||||||
tar -xf binutils-2.36.1.tar.xz
|
tar -xf binutils-2.37.tar.xz
|
||||||
cd binutils-2.36.1
|
cd binutils-2.37
|
||||||
|
|
||||||
chmod +x makeinfo
|
chmod +x makeinfo
|
||||||
export PATH=$PATH:$PWD
|
export PATH=$PATH:$PWD
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="2.36.1"
|
pkg_config_ver="2.37"
|
||||||
pkg_config_name="binutils"
|
pkg_config_name="binutils"
|
||||||
pkg_config_makedepends=""
|
pkg_config_makedepends=""
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
7
curl/build
Executable 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
5
curl/package
Executable 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"
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
wget https://github.com/mesonbuild/meson/releases/download/0.58.1/meson-0.58.1.tar.gz
|
wget https://github.com/mesonbuild/meson/releases/download/0.59.0/meson-0.58.1.tar.gz
|
||||||
tar -xf meson-0.58.1.tar.gz
|
tar -xf meson-0.59.0.tar.gz
|
||||||
cd meson-0.58.1
|
cd meson-0.59.0
|
||||||
|
|
||||||
pip3 install $1
|
pip3 install $1
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
pkg_config_deploy=true
|
pkg_config_deploy=true
|
||||||
pkg_config_ver="0.58.1"
|
pkg_config_ver="0.59.0"
|
||||||
pkg_config_name="meson"
|
pkg_config_name="meson"
|
||||||
pkg_config_makedepends="python ninja "
|
pkg_config_makedepends="python ninja "
|
||||||
pkg_config_depends=""
|
pkg_config_depends=""
|
||||||
|
|
|
@ -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
53
rsync/build
Executable 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
5
rsync/package
Executable 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=""
|
Loading…
Reference in a new issue