Obsolete
/
packaging
Archived
3
0
Fork 0

Recipe updates.

master
Luka Vandervelden 2019-07-30 20:12:53 +02:00
parent eee6a474e6
commit 73a8dc2fbe
1 changed files with 27 additions and 1 deletions

View File

@ -52,6 +52,18 @@ recipes << Recipe.new(context, "apk-tools", "2.10.4").tap do |recipe|
#recipe.build_dependencies << "zlib-dev" << "openssl-dev" #recipe.build_dependencies << "zlib-dev" << "openssl-dev"
end end
recipes << Recipe.new(context, "abuild", "3.4.0").tap do |recipe|
recipe.sources << "https://dev.alpinelinux.org/archive/abuild/abuild-#{recipe.version}.tar.xz"
end
recipes << Recipe.new(context, "make", "4.2").tap do |recipe|
recipe.sources << "https://ftp.gnu.org/gnu/make/make-#{recipe.version}.tar.gz"
end
recipes << Recipe.new(context, "zlib", "1.2.11").tap do |recipe|
recipe.sources << "https://www.zlib.net/zlib-#{recipe.version}.tar.gz"
end
# Be careful with that one. Its not configured to use proper prefixes. # Be careful with that one. Its not configured to use proper prefixes.
# (Not sure that it should though. Its gotta put things in /sbin anyway.) # (Not sure that it should though. Its gotta put things in /sbin anyway.)
recipes << Recipe.new(context, "sysvinit", "2.95").tap do |recipe| recipes << Recipe.new(context, "sysvinit", "2.95").tap do |recipe|
@ -66,6 +78,9 @@ recipes << Recipe.new(context, "musl", "1.1.23").tap do |recipe|
recipe.sources << "https://www.musl-libc.org/releases/musl-#{recipe.version}.tar.gz" recipe.sources << "https://www.musl-libc.org/releases/musl-#{recipe.version}.tar.gz"
recipe.url = "https://www.musl-libc.org/" recipe.url = "https://www.musl-libc.org/"
recipe.description = "The musl c library (libc) implementation." recipe.description = "The musl c library (libc) implementation."
recipe.options["configure"] = "--prefix=/usr --libdir=/lib --syslibdir=/lib --enable-shared --enable-static"
# FIXME: We need to make a few symlinks (libm.so, libpthread.so, librt.so, libdl.so.)
# FIXME: We should probably add a ldd script too.
end end
recipes << Recipe.new(context, "libffi", "3.2.1").tap do |recipe| recipes << Recipe.new(context, "libffi", "3.2.1").tap do |recipe|
@ -107,7 +122,9 @@ end
-DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_ZLIB=ON \
-DLLVM_INCLUDE_EXAMPLES=OFF \ -DLLVM_INCLUDE_EXAMPLES=OFF \
-DLLVM_LINK_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-fPIC -O2" \
-DCMAKE_C_FLAGS="-fPIC -O2"
EOF EOF
recipe.instructions.build << "pwd && ls && cd #{recipe.name}-#{recipe.version} && make" recipe.instructions.build << "pwd && ls && cd #{recipe.name}-#{recipe.version} && make"
@ -224,6 +241,15 @@ end
recipes << Recipe.new(context, "pcre", "8.43").tap do |recipe| recipes << Recipe.new(context, "pcre", "8.43").tap do |recipe|
recipe.sources << "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-#{recipe.version}.tar.gz" recipe.sources << "ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-#{recipe.version}.tar.gz"
recipe.options["configure"] = %( \
--enable-utf8 \
--enable-unicode-properties \
--enable-pcre8 \
--enable-pcre16 \
--enable-pcre32 \
--with-match-limit-recursion=8192
)
end end
recipes << Recipe.new(context, "binutils", "2.32").tap do |recipe| recipes << Recipe.new(context, "binutils", "2.32").tap do |recipe|