net-libs/libslirp: New package
authorZac Medico <zmedico@gentoo.org>
Sun, 19 Apr 2020 22:10:01 +0000 (15:10 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 19 Apr 2020 22:30:26 +0000 (15:30 -0700)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Zac Medico <zmedico@gentoo.org>
net-libs/libslirp/Manifest [new file with mode: 0644]
net-libs/libslirp/libslirp-4.2.0.ebuild [new file with mode: 0644]
net-libs/libslirp/metadata.xml [new file with mode: 0644]

diff --git a/net-libs/libslirp/Manifest b/net-libs/libslirp/Manifest
new file mode 100644 (file)
index 0000000..c49a77a
--- /dev/null
@@ -0,0 +1 @@
+DIST libslirp-4.2.0.tar.gz 123207 BLAKE2B 18402efe46a5e0a67345a6f2ea0dca1482f66c87c24603b7fd125ad36f07e2014fdbdd91b3f774bab993f9330a8febc00a3bf2e310a2723601bdb3cc05fb12c0 SHA512 514744ac8325857915b9946a76f4a55d48c8361b6167cd69c533086928ae06f059d923c5f057e92a0915921bb363b69d34a939a0bcc28233515125a5d1858d25
diff --git a/net-libs/libslirp/libslirp-4.2.0.ebuild b/net-libs/libslirp/libslirp-4.2.0.ebuild
new file mode 100644 (file)
index 0000000..dcd7b79
--- /dev/null
@@ -0,0 +1,21 @@
+# 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}
diff --git a/net-libs/libslirp/metadata.xml b/net-libs/libslirp/metadata.xml
new file mode 100644 (file)
index 0000000..8830eef
--- /dev/null
@@ -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>