mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
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@aisha.cc>
This commit is contained in:
1
dev-libs/imsg-compat/Manifest
Normal file
1
dev-libs/imsg-compat/Manifest
Normal file
@@ -0,0 +1 @@
|
|||||||
|
DIST imsg-compat-6.8.0.tar.gz 10827 BLAKE2B 81471bf67d855e200271e66de854b5e09ddee718b2809e46a16e6ad30d8956910ff15c3e2ae353f12d2cf020cfc1b18010638f000188765807b9f9cd68e34642 SHA512 270ec6e5a6f0f05cf074c4659a508f3f43379f9aa424f4d8d1fec9e6107d97026aca2517ae843c51a240b0e504f4c9368109d842fc018f3aa1be77ce9eac29b4
|
||||||
30
dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild
Normal file
30
dev-libs/imsg-compat/imsg-compat-6.8.0.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
30
dev-libs/imsg-compat/imsg-compat-9999.ebuild
Normal file
30
dev-libs/imsg-compat/imsg-compat-9999.ebuild
Normal file
@@ -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
|
||||||
|
}
|
||||||
8
dev-libs/imsg-compat/metadata.xml
Normal file
8
dev-libs/imsg-compat/metadata.xml
Normal file
@@ -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>floss@bsd.ac</email>
|
||||||
|
<name>Aisha Tammy</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user