mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
Closes: https://bugs.gentoo.org/943982 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/19 Merges: https://codeberg.org/gentoo/gentoo/pulls/19 Signed-off-by: Sam James <sam@gentoo.org>
55 lines
1.1 KiB
Bash
55 lines
1.1 KiB
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Foreign function interface for C and Objective-C libraries"
|
|
HOMEPAGE="http://www.koguro.net/prog/c-wrapper/"
|
|
SRC_URI="http://www.koguro.net/prog/${PN}/${P}.tgz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="examples"
|
|
|
|
RDEPEND="dev-scheme/gauche:=
|
|
dev-libs/libffi:="
|
|
DEPEND="${RDEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-closure.patch
|
|
"${FILESDIR}"/${PN}-gauche-abi-0.98.patch
|
|
"${FILESDIR}"/${PN}-gcc-5.patch
|
|
"${FILESDIR}"/${PN}-gentoo.patch
|
|
"${FILESDIR}"/${PN}-glibc-2.25.patch
|
|
"${FILESDIR}"/${PN}-info.patch
|
|
"${FILESDIR}"/${PN}-texinfo-6.7.patch
|
|
"${FILESDIR}"/${PN}-clang.patch
|
|
"${FILESDIR}"/${PN}-float128.patch
|
|
"${FILESDIR}"/${PN}-local-typedef.patch
|
|
"${FILESDIR}"/${PN}-extend-parser.patch
|
|
"${FILESDIR}"/${PN}-gcc-15.patch
|
|
)
|
|
HTML_DOCS=( doc/${PN}-ref{e,j}.html )
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_test() {
|
|
emake -j1 -s check
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
if use examples; then
|
|
docompress -x /usr/share/doc/${PF}/examples
|
|
dodoc -r examples
|
|
fi
|
|
}
|