diff options
Diffstat (limited to 'dev-libs/gnulib/gnulib-2022.02.12.16.27.05.ebuild')
-rw-r--r-- | dev-libs/gnulib/gnulib-2022.02.12.16.27.05.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/gnulib/gnulib-2022.02.12.16.27.05.ebuild b/dev-libs/gnulib/gnulib-2022.02.12.16.27.05.ebuild new file mode 100644 index 000000000000..302bd8f7f895 --- /dev/null +++ b/dev-libs/gnulib/gnulib-2022.02.12.16.27.05.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GIT_TAG="9f48fb992a3d7e96610c4ce8be969cff2d61a01b" + +DESCRIPTION="Library of common routines intended to be shared" +HOMEPAGE="https://www.gnu.org/software/gnulib" +SRC_URI="https://git.savannah.gnu.org/cgit/${PN}.git/snapshot/${PN}-${GIT_TAG}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +S="${WORKDIR}/${PN}-${GIT_TAG}" + +src_compile() { + if use doc; then + emake -C doc info html + fi +} + +src_install() { + dodoc README ChangeLog + + insinto /usr/share/${PN} + doins -r build-aux + doins -r doc + doins -r lib + doins -r m4 + doins -r modules + doins -r tests + doins -r top + + # install the real script + exeinto /usr/share/${PN} + doexe gnulib-tool + + # create and install the wrapper + dosym ../share/${PN}/gnulib-tool /usr/bin/gnulib-tool +} |