Etapa G: libs C base libssh2 + libpng + libyaml (corpus 246→249)
libssh2 1.11.1 (libssh2.a, crypto openssl), libpng 1.6.58 (libpng16.a vs zlib), libyaml 0.2.5 (libyaml.a). GOTCHA: libpng usa AC_CHECK_LIB link-test para zlib (no pkg-config) ⇒ requiere CPPFLAGS=-I/usr/include LDFLAGS=-L/usr/lib explícitos. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# libpng 1.6.58 → libpng16.a (C, autotools). Lib base imágenes: png crates, cola gráfica.
|
||||
# De-Alpinizada: compiler=gcc, configure-split, contra zlib del corpus, estático.
|
||||
name = "libpng"
|
||||
version = "1.6.58"
|
||||
[source]
|
||||
tarball = "https://downloads.sourceforge.net/libpng/libpng-1.6.58.tar.gz"
|
||||
sha256 = "8c9b05b675ca7301a458df2c2e46f26e1d41ff36b8863f8c33530bc58c2e6225"
|
||||
[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 CPPFLAGS=-I/usr/include LDFLAGS=-L/usr/lib'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
[deps]
|
||||
build = ["zlib"]
|
||||
@@ -0,0 +1,18 @@
|
||||
# libssh2 1.11.1 → libssh2.a (C, autotools). Lib base SSH: ssh2-sys (git tools, scp/sftp).
|
||||
# De-Alpinizada: compiler=gcc, configure-split, crypto vía openssl del corpus, estático.
|
||||
name = "libssh2"
|
||||
version = "1.11.1"
|
||||
[source]
|
||||
tarball = "https://www.libssh2.org/download/libssh2-1.11.1.tar.gz"
|
||||
sha256 = "d9ec76cbe34db98eec3539fe2c899d26b0c837cb3eb466a56b0f109cabf658f7"
|
||||
[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 --with-crypto=openssl --disable-examples-build'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
[deps]
|
||||
build = ["openssl", "zlib"]
|
||||
@@ -0,0 +1,16 @@
|
||||
# libyaml 0.2.5 → libyaml.a (C, autotools). Lib base YAML: yaml-sys, parsers. Tarball release
|
||||
# (el repo git no trae configure). De-Alpinizada: compiler=gcc, configure-split, estático.
|
||||
name = "libyaml"
|
||||
version = "0.2.5"
|
||||
[source]
|
||||
tarball = "https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz"
|
||||
sha256 = "c642ae9b75fee120b2d96c712538bd2cf283228d2337df2cf2988e3c02678ef4"
|
||||
[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'
|
||||
Reference in New Issue
Block a user