21 lines
696 B
TOML
21 lines
696 B
TOML
[package]
|
|
name = "lib32-alsa-lib"
|
|
version = "1.2.13"
|
|
description = "32-bit ALSA sound library — needed by Steam/Wine for audio"
|
|
url = "https://www.alsa-project.org/"
|
|
license = "LGPL-2.1"
|
|
|
|
[source]
|
|
url = "https://www.alsa-project.org/files/pub/lib/alsa-lib-${version}.tar.bz2"
|
|
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
|
|
[dependencies]
|
|
run = ["lib32-glibc"]
|
|
build = ["gcc", "make", "pkg-config"]
|
|
|
|
[build]
|
|
system = "autotools"
|
|
configure = """CC="gcc -m32" CXX="g++ -m32" PKG_CONFIG_PATH="/usr/lib32/pkgconfig" ./configure --prefix=/usr --libdir=/usr/lib32 --host=i686-pc-linux-gnu --disable-static"""
|
|
make = """make"""
|
|
install = """make DESTDIR=${PKG} install"""
|