21 lines
767 B
TOML
21 lines
767 B
TOML
[package]
|
|
name = "lib32-glibc"
|
|
version = "2.43"
|
|
description = "32-bit GNU C Library — foundation for all 32-bit Steam/Wine/Proton binaries"
|
|
url = "https://www.gnu.org/software/libc/"
|
|
license = "LGPL-2.1"
|
|
|
|
[source]
|
|
url = "https://ftp.gnu.org/gnu/glibc/glibc-${version}.tar.xz"
|
|
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
|
|
[dependencies]
|
|
run = ["glibc"]
|
|
build = ["gcc", "binutils", "make", "sed", "gawk"]
|
|
|
|
[build]
|
|
system = "autotools"
|
|
configure = """mkdir -p build && cd build && CC="gcc -m32" CXX="g++ -m32" ../configure --prefix=/usr --libdir=/usr/lib32 --host=i686-pc-linux-gnu --enable-kernel=5.4 --disable-profile libc_cv_slibdir=/usr/lib32"""
|
|
make = """cd build && make"""
|
|
install = """cd build && make DESTDIR=${PKG} install"""
|