Juergen Daubert
c5a2033ee0
if qemu version 8.1.0, release 3, is installed you have to force install this port because qemu includes the slirp libraries. As of release 4 of qemu this has been fixed and libslirp is needed for slirp support [1] in qemu. [1] https://wiki.qemu.org/Documentation/Networking#Network_HOWTOs
22 lines
533 B
Plaintext
22 lines
533 B
Plaintext
# Description: A general purpose TCP-IP emulator
|
|
# URL: https://gitlab.freedesktop.org/slirp/libslirp
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: glib
|
|
|
|
name=libslirp
|
|
version=4.7.0
|
|
release=1
|
|
source=(https://gitlab.freedesktop.org/slirp/$name/-/archive/v$version/$name-v$version.tar.bz2)
|
|
|
|
build() {
|
|
meson setup build $name-v$version \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true
|
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG meson install -C build
|
|
}
|