19 lines
786 B
TOML
19 lines
786 B
TOML
# libnl 3.11.0 — biblioteca Netlink (C). Lo exige libksysguard (estadísticas de red vía netlink). Autotools;
|
|
# flex/bison para el parser de rutas. Provee libnl-3/libnl-route-3/libnl-genl-3.so.
|
|
name = "libnl"
|
|
version = "3.11.0"
|
|
[source]
|
|
tarball = "https://github.com/thom311/libnl/releases/download/libnl3_11_0/libnl-3.11.0.tar.gz"
|
|
sha256 = "2a56e1edefa3e68a7c00879496736fdbf62fc94ed3232c0baba127ecfa76874d"
|
|
[build]
|
|
compiler = "zig-cc"
|
|
target = "x86_64-linux-musl"
|
|
link = "dynamic"
|
|
zig_version = "0.13.0"
|
|
[build.phases]
|
|
configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-static --enable-shared'
|
|
compile = 'make -j"$(nproc)"'
|
|
install = "make install DESTDIR=/out && find /out -name '*.la' -delete"
|
|
[deps]
|
|
build = ["pkgconf", "flex", "bison"]
|