mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
43 lines
907 B
Bash
43 lines
907 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
GIT_TAG="5b92dd0a45c8d27f13a21076b57095ea5e220870"
|
|
|
|
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.xz"
|
|
S="${WORKDIR}/${PN}-${GIT_TAG}"
|
|
|
|
LICENSE="GPL-3+ LGPL-2.1+ FDL-1.3+"
|
|
SLOT="0"
|
|
KEYWORDS="~arm64-macos ~x64-macos ~x64-solaris"
|
|
IUSE="doc"
|
|
|
|
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
|
|
}
|