diff --git a/recipes/bzip2.toml b/recipes/bzip2.toml new file mode 100644 index 00000000..c8fc766c --- /dev/null +++ b/recipes/bzip2.toml @@ -0,0 +1,15 @@ +# bzip2 1.0.8 → libbz2.a (C, Makefile custom sin configure). Lib base: compresión .bz2, cola C. +# De-Alpinizada: compiler=gcc, make directo, install con PREFIX (el Makefile no usa DESTDIR). +name = "bzip2" +version = "1.0.8" +[source] +tarball = "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" +sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269" +[build] +compiler = "gcc" +target = "x86_64-linux-musl" +link = "static" +flags = [] +[build.phases] +compile = 'make CC=gcc' +install = 'make install PREFIX=/out/usr' diff --git a/recipes/libsodium.toml b/recipes/libsodium.toml new file mode 100644 index 00000000..823e688e --- /dev/null +++ b/recipes/libsodium.toml @@ -0,0 +1,16 @@ +# libsodium 1.0.22 → libsodium.a (C, autotools). Lib base cripto: libsodium-sys en muchos crates. +# De-Alpinizada: compiler=gcc, configure-split, estático. +name = "libsodium" +version = "1.0.22" +[source] +tarball = "https://download.libsodium.org/libsodium/releases/libsodium-1.0.22.tar.gz" +sha256 = "adbdd8f16149e81ac6078a03aca6fc03b592b89ef7b5ed83841c086191be3349" +[build] +compiler = "gcc" +target = "x86_64-linux-musl" +link = "static" +flags = [] +[build.phases] +configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static' +compile = 'make' +install = 'make DESTDIR=/out install' diff --git a/recipes/xz.toml b/recipes/xz.toml new file mode 100644 index 00000000..9523c787 --- /dev/null +++ b/recipes/xz.toml @@ -0,0 +1,20 @@ +# xz 5.8.3 → liblzma.a (C, autotools). Lib base: compresión .xz, libxml2-lzma, cola C. +# De-Alpinizada: compiler=gcc, configure-split, solo la lib (--disable CLI tools), estático. +name = "xz" +version = "5.8.3" +[source] +tarball = "https://github.com/tukaani-project/xz/releases/download/v5.8.3/xz-5.8.3.tar.xz" +sha256 = "fff1ffcf2b0da84d308a14de513a1aa23d4e9aa3464d17e64b9714bfdd0bbfb6" +[build] +compiler = "gcc" +target = "x86_64-linux-musl" +link = "static" +flags = [] +[build.phases] +configure = ''' +./configure --build=$CBUILD --host=$CHOST --prefix=/usr \ + --disable-shared --enable-static \ + --disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo --disable-scripts --disable-doc +''' +compile = 'make' +install = 'make DESTDIR=/out install' diff --git a/recipes/zstd.toml b/recipes/zstd.toml new file mode 100644 index 00000000..8c17ded0 --- /dev/null +++ b/recipes/zstd.toml @@ -0,0 +1,15 @@ +# zstd 1.5.7 → libzstd.a (C, Makefile). Lib FUNDACIONAL: zstd-sys está en MONTONES de crates Rust +# (compresión moderna) + cola C. De-Alpinizada: compiler=gcc, build de lib/ (no CLI), estático. +name = "zstd" +version = "1.5.7" +[source] +tarball = "https://github.com/facebook/zstd/releases/download/v1.5.7/zstd-1.5.7.tar.gz" +sha256 = "eb33e51f49a15e023950cd7825ca74a4a2b43db8354825ac24fc1b7ee09e6fa3" +[build] +compiler = "gcc" +target = "x86_64-linux-musl" +link = "static" +flags = [] +[build.phases] +compile = 'make -C lib libzstd.a' +install = 'make -C lib install PREFIX=/usr DESTDIR=/out'