libraries/libslirp: Updated for version 4.7.0.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2023-04-29 16:38:48 +01:00 committed by Willy Sudiarto Raharjo
parent 88a60aade9
commit 3a1699ffda
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 25 additions and 8 deletions

View file

@ -1,4 +1,6 @@
libslirp is a user-mode networking library
used by virtual machines,containers or various tools.
Valgrind is an optional dependency and if
installed it will use it.
This is an optional dependency of QEMU

View file

@ -0,0 +1,15 @@
Changelog for libslirp SlackBuild Script
--------------------------------------------------------------------
03/09/2022:
Added to slackbuilds.org
17/12/2022:
Issues in the script were fixed.
29/04/2023:
updated to version 4.7.0
Valgrind is an optional dependency for libslirp

View file

@ -2,7 +2,7 @@
# Slackware build script for libslirp
# Copyright 2022 Vijay Marcel
# Copyright 2022-2023 Vijay Marcel
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libslirp
VERSION=${VERSION:-4.6.1}
VERSION=${VERSION:-4.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -48,13 +48,13 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
SLKCFLAGS="-march=i586 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
SLKCFLAGS="-march=i686 -mtune=i686 -pipe -O2 -fPIC"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
SLKCFLAGS="-march=x86-64 -mtune=native -pipe -O2 -fPIC"
LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"

View file

@ -1,8 +1,8 @@
PRGNAM="libslirp"
VERSION="4.6.1"
VERSION="4.7.0"
HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp"
DOWNLOAD="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.6.1/libslirp-v4.6.1.tar.gz"
MD5SUM="00038da3c63bb2eb2fb1f75d0b56249b"
DOWNLOAD="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v4.7.0/libslirp-v4.7.0.tar.gz"
MD5SUM="8eb16991ab6145ca45e8393e9959a832"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""