Etapa G: 6 libs C base — libevent/libgpg-error/libgcrypt/libuv/json-c/freetype (corpus 260→266)
libevent 2.1.12 (async/red), libgpg-error+libgcrypt (cripto), libuv 1.52 (async; necesitó ./autogen.sh, el dist tarball no trae configure), json-c 0.18 (CMAKE — el rootfs tiene cmake), freetype 2.14 (fuentes, vs zlib+libpng con el fix CPPFLAGS/LDFLAGS). Set de libs base ya cubre 20+ deps de cola C/-sys. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# freetype 2.14.3 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "freetype"
|
||||
version = "2.14.3"
|
||||
|
||||
[source]
|
||||
tarball = "https://download.savannah.gnu.org/releases/freetype/freetype-2.14.3.tar.xz"
|
||||
sha256 = "36bc4f1cc413335368ee656c42afca65c5a3987e8768cc28cf11ba775e785a5f"
|
||||
patches = ["pcf-family-names.patch", "subpixel.patch", "table-validation-modules.patch"]
|
||||
|
||||
[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 --without-harfbuzz --without-brotli --with-zlib=yes --with-png=yes CPPFLAGS=-I/usr/include LDFLAGS=-L/usr/lib'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
|
||||
|
||||
[deps]
|
||||
build = ["zlib","libpng"]
|
||||
@@ -0,0 +1,20 @@
|
||||
# json-c 0.18 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "json-c"
|
||||
version = "0.18"
|
||||
|
||||
[source]
|
||||
tarball = "https://s3.amazonaws.com/json-c_releases/releases/json-c-0.18.tar.gz"
|
||||
sha256 = "876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724"
|
||||
patches = ["cmake-version.patch"]
|
||||
|
||||
[build]
|
||||
compiler = "gcc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
[build.phases]
|
||||
configure = 'cmake -B build -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release'
|
||||
compile = 'cmake --build build'
|
||||
install = 'DESTDIR=/out cmake --install build'
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# libevent 2.1.12 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "libevent"
|
||||
version = "2.1.12"
|
||||
|
||||
[source]
|
||||
tarball = "https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz"
|
||||
sha256 = "92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb"
|
||||
|
||||
[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-samples --disable-libevent-regress --disable-openssl'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# libgcrypt 1.12.2 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "libgcrypt"
|
||||
version = "1.12.2"
|
||||
|
||||
[source]
|
||||
tarball = "https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.12.2.tar.bz2"
|
||||
sha256 = "7ce33c2492221a0436f96a8500215e9f3e3dcb5fd26a757cd415e7a843babd5e"
|
||||
|
||||
[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-libgpg-error-prefix=/usr --disable-doc'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
|
||||
|
||||
[deps]
|
||||
build = ["libgpg-error"]
|
||||
@@ -0,0 +1,19 @@
|
||||
# libgpg-error 1.61 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "libgpg-error"
|
||||
version = "1.61"
|
||||
|
||||
[source]
|
||||
tarball = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.61.tar.bz2"
|
||||
sha256 = "7a85413f2bc354f4f8aa832b718af122e48965e9e0eb9012ee659c13c6385c93"
|
||||
|
||||
[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-doc --disable-tests --enable-install-gpg-error-config'
|
||||
compile = 'make'
|
||||
install = 'make DESTDIR=/out install'
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# libuv 1.52.1 — lib C base (de-Alpinizada, Etapa G). compiler=gcc, configure-split, estático.
|
||||
name = "libuv"
|
||||
version = "1.52.1"
|
||||
|
||||
[source]
|
||||
tarball = "https://dist.libuv.org/dist/v1.52.1/libuv-v1.52.1.tar.gz"
|
||||
sha256 = "66d511b9e6e334c0e62279eb234fbfb2b3110b1479c09b95b44c7afca8cff9e7"
|
||||
patches = ["fix-test-musl.patch"]
|
||||
|
||||
[build]
|
||||
compiler = "gcc"
|
||||
target = "x86_64-linux-musl"
|
||||
link = "static"
|
||||
flags = []
|
||||
|
||||
[build.phases]
|
||||
configure = './autogen.sh && ./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