mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć <xgqt@riseup.net>
53 lines
984 B
Bash
53 lines
984 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="Bindings for GObject Introspection and libgirepository for Guile"
|
|
HOMEPAGE="https://spk121.github.io/guile-gi/"
|
|
|
|
if [[ "${PV}" == *9999* ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/spk121/${PN}.git"
|
|
else
|
|
SRC_URI="https://github.com/spk121/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64"
|
|
fi
|
|
|
|
# Tests fail
|
|
RESTRICT="strip test"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
BDEPEND="
|
|
sys-apps/texinfo
|
|
"
|
|
DEPEND="
|
|
>=dev-scheme/guile-2.0.9
|
|
dev-libs/gobject-introspection
|
|
"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
find "${S}" -name "*.scm" -exec touch {} + || die
|
|
}
|
|
|
|
src_configure() {
|
|
sh ./bootstrap || die
|
|
|
|
local myconf=(
|
|
--enable-introspection="yes"
|
|
--enable-hardening
|
|
)
|
|
econf "${myconf[@]}"
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
|
|
mv "${D}/usr/share/doc/${PN}"/* "${D}/usr/share/doc/${PF}" || die
|
|
rm -r "${D}/usr/share/doc/${PN}" || die
|
|
}
|