Build QEMU Prerequisites

libblkio

Information

URL - https://libblkio.gitlab.io/libblkio/ Version Tested - 1.5.0

Set up

Set our environment variables for the package name. Then configure the build system.

MYPKG=libblkio-1.5.0
mkdir build && cd build
meson setup  --prefix=/usr  --libdir=/usr/lib64  --libexecdir=/usr/libexec  --bindir=/usr/bin  --sbindir=/usr/sbin  --includedir=/usr/include  --datadir=/usr/share  --mandir=/usr/man --sysconfdir=/etc   --localstatedir=/var   --buildtype=release ..
Build
ninja
Install to temporary directory
sudo mkdir -p /root/installs/${MYPKG}-${MYARCH}
sudo DESTDIR=/root/installs/${MYPKG}-${MYARCH} ninja install
Create Slackware package from installation directory
sudo bash -c "cd /root/installs/${MYPKG}-${MYARCH} && makepkg --linkadd y --chown y /root/packages/${MYPKG}-${MYARCH}.txz"
Install the resulting package
sudo installpkg /root/packages/${MYPKG}-${MYARCH}.txz

libiscsi

Set up our environment variables for the package name. Configure the build to be located in /usr.
MYPKG=libiscsi-1.20.0
./autogen.sh
CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCFLAGS" ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var
Build
make -j $MYTHREADS
Install to temporary directory
sudo mkdir -p /root/installs/${MYPKG}-${MYARCH}
sudo make install-strip DESTDIR=/root/installs/${MYPKG}-${MYARCH}
Create Slackware package from installation directory
sudo bash -c "cd /root/installs/${MYPKG}-${MYARCH} && makepkg --linkadd y --chown y /root/packages/${MYPKG}-${MYARCH}.txz"
Install the resulting package
sudo installpkg /root/packages/${MYPKG}-${MYARCH}.txz

numactl

Set up our environment variables for the package name. Configure the build to be located in /usr.
MYPKG=numactl-2.0.19

CFLAGS="$MYCFLAGS" CXXFLAGS="$MYCFLAGS" ./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc --localstatedir=/var
Build
make -j $MYTHREADS
Install to temporary directory
sudo mkdir -p /root/installs/${MYPKG}-${MYARCH}
sudo make install-strip DESTDIR=/root/installs/${MYPKG}-${MYARCH}
Create Slackware package from installation directory
sudo bash -c "cd /root/installs/${MYPKG}-${MYARCH} && makepkg --linkadd y --chown y /root/packages/${MYPKG}-${MYARCH}.txz"
Install the resulting package
sudo installpkg /root/packages/${MYPKG}-${MYARCH}.txz