commit: d325b99fd614ef2b80b2226564b02a006dee6deb Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Sun Dec 13 00:18:21 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Sun Dec 13 00:18:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d325b99f
dev-libs/imsg-compat: imsg utilities from openbsd ported for linux Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> dev-libs/imsg-compat/Manifest | 1 + dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild | 30 +++++++++++++++++++++++++++ dev-libs/imsg-compat/imsg-compat-9999.ebuild | 30 +++++++++++++++++++++++++++ dev-libs/imsg-compat/metadata.xml | 8 +++++++ 4 files changed, 69 insertions(+) diff --git a/dev-libs/imsg-compat/Manifest b/dev-libs/imsg-compat/Manifest new file mode 100644 index 00000000..2b26e70a --- /dev/null +++ b/dev-libs/imsg-compat/Manifest @@ -0,0 +1 @@ +DIST imsg-compat-6.8.0.tar.gz 10827 BLAKE2B 81471bf67d855e200271e66de854b5e09ddee718b2809e46a16e6ad30d8956910ff15c3e2ae353f12d2cf020cfc1b18010638f000188765807b9f9cd68e34642 SHA512 270ec6e5a6f0f05cf074c4659a508f3f43379f9aa424f4d8d1fec9e6107d97026aca2517ae843c51a240b0e504f4c9368109d842fc018f3aa1be77ce9eac29b4 diff --git a/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild b/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild new file mode 100644 index 00000000..5cdcd012 --- /dev/null +++ b/dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="linux port of OpenBSD imsg" + +HOMEPAGE="https://man.openbsd.org/imsg_init.3 + https://github.com/bsd-ac/imsg-compat +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bsd-ac/imsg-compat.git" +else + SRC_URI="https://github.com/bsd-ac/imsg-compat/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_install() { + emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install + if ! use static-libs ; then + find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die + fi +} diff --git a/dev-libs/imsg-compat/imsg-compat-9999.ebuild b/dev-libs/imsg-compat/imsg-compat-9999.ebuild new file mode 100644 index 00000000..5cdcd012 --- /dev/null +++ b/dev-libs/imsg-compat/imsg-compat-9999.ebuild @@ -0,0 +1,30 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="linux port of OpenBSD imsg" + +HOMEPAGE="https://man.openbsd.org/imsg_init.3 + https://github.com/bsd-ac/imsg-compat +" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/bsd-ac/imsg-compat.git" +else + SRC_URI="https://github.com/bsd-ac/imsg-compat/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_install() { + emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install + if ! use static-libs ; then + find "${ED}"/usr/$(get_libdir) -name "*.a" -delete || die + fi +} diff --git a/dev-libs/imsg-compat/metadata.xml b/dev-libs/imsg-compat/metadata.xml new file mode 100644 index 00000000..1d5a25a7 --- /dev/null +++ b/dev-libs/imsg-compat/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>fl...@bsd.ac</email> + <name>Aisha Tammy</name> + </maintainer> +</pkgmetadata>