54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
# Description: Network configuration tool
|
|
# URL: https://wiki.gnome.org/Projects/NetworkManager/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: curl-32 dbus-glib-32 jansson-32 libndp-32 libpsl-32 networkmanager nss-32
|
|
|
|
name=libnm-32
|
|
version=1.50.1
|
|
release=1
|
|
source=(https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/archive/$version/NetworkManager-$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup NetworkManager-$version build $PKGMK_NM \
|
|
--prefix /usr \
|
|
--libdir /usr/lib32 \
|
|
--sysconfdir /etc \
|
|
--localstatedir /var \
|
|
--libexecdir /usr/lib/networkmanager \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D crypto=nss \
|
|
-D dbus_conf_dir=/usr/share/dbus-1/system.d \
|
|
-D udev_dir=/lib/udev \
|
|
-D introspection=false \
|
|
-D session_tracking=no \
|
|
-D libaudit=no \
|
|
-D bluez5_dun=false \
|
|
-D concheck=false \
|
|
-D ebpf=false \
|
|
-D iwd=false \
|
|
-D modem_manager=false \
|
|
-D nm_cloud_setup=false \
|
|
-D nmcli=false \
|
|
-D nmtui=false \
|
|
-D ovs=false \
|
|
-D ppp=false \
|
|
-D teamdctl=false \
|
|
-D tests=no \
|
|
-D more_asserts=no \
|
|
-D more_logging=false \
|
|
-D qt=false \
|
|
-D systemdsystemunitdir=no \
|
|
-D systemd_journal=false \
|
|
-D selinux=false \
|
|
-D suspend_resume=consolekit \
|
|
-D polkit=false
|
|
meson compile -C build
|
|
mkdir $SRC/install
|
|
DESTDIR=$PKG meson install -C build
|
|
rm -r $PKG/usr/{bin,include,lib,sbin,share}
|
|
rm -r $PKG/{etc,lib,var}
|
|
}
|