diff options
author | Zac Medico <zmedico@gentoo.org> | 2022-04-27 17:47:52 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2022-04-27 17:53:48 -0700 |
commit | e0f6c80f377f990d0608b8d548893d8b0c965899 (patch) | |
tree | 8e3f41e9bec0f29c07b1b13a3c28d96c00b8b8b2 /net-libs | |
parent | sys-libs/ncurses: add 6.3_p20220423{,-r1} (unkeyworded) (diff) | |
download | gentoo-e0f6c80f377f990d0608b8d548893d8b0c965899.tar.gz gentoo-e0f6c80f377f990d0608b8d548893d8b0c965899.tar.bz2 gentoo-e0f6c80f377f990d0608b8d548893d8b0c965899.zip |
net-libs/libslirp: add 4.7.0
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libslirp/Manifest | 1 | ||||
-rw-r--r-- | net-libs/libslirp/libslirp-4.7.0.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/net-libs/libslirp/Manifest b/net-libs/libslirp/Manifest index b2523bed1ccb..7deab5160a6e 100644 --- a/net-libs/libslirp/Manifest +++ b/net-libs/libslirp/Manifest @@ -1 +1,2 @@ DIST libslirp-4.6.1.tar.gz 135569 BLAKE2B 7a890912f2a8ce9d6820870e2d29b9c7a2253c403c2bcb127a38e02b2b81d1e262f34571c8a4c05fbf46874b9b2967cb5597cabe169ad54f12702fdd8b90bb3c SHA512 04a9dd88cd58c849a24b9cff405d951952760d99ea2bef0b070463dff088d79f44557a13c9427ba0043f58d4b9e06b68ff64a4f23a7b0d66df594e32e1521cae +DIST libslirp-4.7.0.tar.gz 143251 BLAKE2B f3e1c3a31f09462d79ca6c663a05bde02b075090f3a5f7bc69fef3c72b8517c11a123ad7b46f4b2855cbc9a7a5dbde8d1cb2d5e3e2a9d7eedbe570c200f8bcc6 SHA512 387f4a6dad240ce633df2640bb49c6cb0041c8b3afc8d0ef38186d385f00dd9e4ef4443e93e1b71dbf05e22892b6f2771a87a202e815d8ec899ab5c147a1f09f diff --git a/net-libs/libslirp/libslirp-4.7.0.ebuild b/net-libs/libslirp/libslirp-4.7.0.ebuild new file mode 100644 index 000000000000..8af6b877d67a --- /dev/null +++ b/net-libs/libslirp/libslirp-4.7.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +KEYWORDS="~amd64 ~arm64 ~m68k ~ppc ~ppc64 ~riscv ~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 +} |