mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
sys-libs/libucontext: initial import
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
1
sys-libs/libucontext/Manifest
Normal file
1
sys-libs/libucontext/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST libucontext-1.1.tar.gz 25261 BLAKE2B 269b3899657779bc2c6a2f1c365242f0ee936afeb0acf74e48af5c1e6b96918bbaa239039508e7b1b1f7b358679fb4a222311b761223b69b9a3e7a9be2d0bc40 SHA512 05aed6f82a2b3d9dba896423335a7fc2fc5eddc87ed725f05e14488c6ddfcef10b835c928619439c7783e052baff7ef2dc162b6e06aa78992f6f611ca13c2e39
|
||||
39
sys-libs/libucontext/libucontext-1.1.ebuild
Normal file
39
sys-libs/libucontext/libucontext-1.1.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="ucontext implementation featuring glibc-compatible ABI"
|
||||
HOMEPAGE="https://github.com/kaniini/libucontext"
|
||||
SRC_URI="https://github.com/kaniini/libucontext/archive/refs/tags/${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${P}
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+man"
|
||||
|
||||
BDEPEND="man? ( app-text/scdoc )"
|
||||
|
||||
# segfault needs investigation
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
tc-export AR CC
|
||||
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
|
||||
|
||||
if use man ; then
|
||||
emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install_docs
|
||||
fi
|
||||
}
|
||||
11
sys-libs/libucontext/metadata.xml
Normal file
11
sys-libs/libucontext/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>musl@gentoo.org</email>
|
||||
<name>Musl project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">kaniini/libucontext</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user