diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-06-19 09:01:34 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-06-19 09:03:06 -0700 |
commit | c12ee84df0feb4f2b0d21d8048abb4796d6c459c (patch) | |
tree | 2cc4d8ad4cc94ac741f1b747df91cbb7b025423e /net-libs/libslirp/libslirp-4.6.1.ebuild | |
parent | net-libs/libslirp: Remove vunlnerable version (diff) | |
download | gentoo-c12ee84df0feb4f2b0d21d8048abb4796d6c459c.tar.gz gentoo-c12ee84df0feb4f2b0d21d8048abb4796d6c459c.tar.bz2 gentoo-c12ee84df0feb4f2b0d21d8048abb4796d6c459c.zip |
net-libs/libslirp: Bump to version 4.6.1
Closes: https://bugs.gentoo.org/796737
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-libs/libslirp/libslirp-4.6.1.ebuild')
-rw-r--r-- | net-libs/libslirp/libslirp-4.6.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-libs/libslirp/libslirp-4.6.1.ebuild b/net-libs/libslirp/libslirp-4.6.1.ebuild new file mode 100644 index 000000000000..66229c715845 --- /dev/null +++ b/net-libs/libslirp/libslirp-4.6.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +KEYWORDS="amd64 arm64 ~ppc ppc64 x86" +MY_P="${PN}-v${PV}" +SRC_URI="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${PV}/${MY_P}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="A TCP-IP emulator used to provide virtual networking services." +HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp" + +LICENSE="BSD" +SLOT="0" +IUSE="static-libs" + +RDEPEND="dev-libs/glib:=" + +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + echo "${PV}" > .tarball-version || die + echo -e "#!${BASH}\necho -n \$(cat '${S}/.tarball-version')" > build-aux/git-version-gen || die + default +} + +src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + ) + meson_src_configure +} |