summaryrefslogtreecommitdiff
path: root/net-libs/libslirp
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libslirp')
-rw-r--r--net-libs/libslirp/Manifest3
-rw-r--r--net-libs/libslirp/libslirp-4.3.0.ebuild26
-rw-r--r--net-libs/libslirp/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/libslirp/Manifest b/net-libs/libslirp/Manifest
new file mode 100644
index 000000000000..a8ef17bb8106
--- /dev/null
+++ b/net-libs/libslirp/Manifest
@@ -0,0 +1,3 @@
+DIST libslirp-4.3.0.tar.gz 126721 BLAKE2B 407e9b29c107edefd9c8609a16d763e159c2e8624469e49a7408c4edb8fe07940bfce748bd8e4ac2a92ed09a0be283f75337d12475c06ad778b4bb5cc56df180 SHA512 24c5a6c60e0a08674353db1050a6a6b6cd7633e7cb691a3380b7acc6f0bb65d8aa52a076623d4615f63c7b5e96e600b99b56d2f14772fafe132afb1f0102a993
+EBUILD libslirp-4.3.0.ebuild 612 BLAKE2B b49953205e42924c91aa82bd1f0b45b7f24f16abd5365caad7de84bf7de284cf981a4cb0be3e08366d60aa393a75b89465007dfbafde9bccf0e36aaff96ab740 SHA512 6adcfcf2e57c4ab3021bf57e3deadd53f23c1e93e0f1620d79aa9b0e6515612a093edb00df1d1b736d78090211ffe4fb41cae82940539ea1b612fd20d06693b3
+MISC metadata.xml 346 BLAKE2B f8c280b0fc3fadde1f7d8524d281b6c818d0489c98a3d54e9bcb54cf576bf34648041ddd2a9635544378e18fff67d34036626ae4f74ddc8a850347858137b458 SHA512 b237a26cef7a0e4e023b953ad63505c00338d7aab0434bdb346ac3e9810f81813a3567f7dbc2d13b03e0c63d50b9f151a9ece7051a90a0568281e410da2ba9da
diff --git a/net-libs/libslirp/libslirp-4.3.0.ebuild b/net-libs/libslirp/libslirp-4.3.0.ebuild
new file mode 100644
index 000000000000..011abdb103be
--- /dev/null
+++ b/net-libs/libslirp/libslirp-4.3.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+KEYWORDS="~amd64"
+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 general purpose TCP-IP emulator used by virtual machine hypervisors to provide virtual networking services."
+HOMEPAGE="https://gitlab.freedesktop.org/slirp/libslirp"
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="dev-libs/glib:="
+
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ echo "${PV}" > .tarball-version || die
+}
diff --git a/net-libs/libslirp/metadata.xml b/net-libs/libslirp/metadata.xml
new file mode 100644
index 000000000000..8830eef1af11
--- /dev/null
+++ b/net-libs/libslirp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Zac Medico</name>
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">gitlab.freedesktop.org/slirp/libslirp</remote-id>
+ </upstream>
+</pkgmetadata>