diff options
| author | Sam James <sam@gentoo.org> | 2024-10-04 02:32:11 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-10-04 02:32:11 +0100 |
| commit | d7a3bddd21e2bcda4f0d37ae06284c07e5a4cf54 (patch) | |
| tree | 1d921eaba26c33cd533c277e235dfba4139492af /app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild | |
| parent | 95036a458e1e73486a92d05c57dcb50c6dae61e2 (diff) | |
| download | gentoo-d7a3bddd21e2bcda4f0d37ae06284c07e5a4cf54.tar.gz gentoo-d7a3bddd21e2bcda4f0d37ae06284c07e5a4cf54.tar.bz2 gentoo-d7a3bddd21e2bcda4f0d37ae06284c07e5a4cf54.zip | |
app-doc/gnu-c-intro-ref: add 0_pre20240831
Closes: https://bugs.gentoo.org/911528
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild')
| -rw-r--r-- | app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild new file mode 100644 index 000000000000..7324680b8e48 --- /dev/null +++ b/app-doc/gnu-c-intro-ref/gnu-c-intro-ref-0_pre20240831.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="GNU C Language Intro and Reference Manual" +HOMEPAGE="https://savannah.gnu.org/projects/c-intro-and-ref/" + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://git.savannah.gnu.org/git/c-intro-and-ref.git" + inherit git-r3 +else + MY_COMMIT="62962013107481127176ef04d69826e41f51313c" + SRC_URI="https://git.savannah.nongnu.org/cgit/c-intro-and-ref.git/snapshot/c-intro-and-ref-${MY_COMMIT}.tar.gz" + S="${WORKDIR}"/c-intro-and-ref-${MY_COMMIT} + KEYWORDS="~amd64" +fi + +LICENSE="FDL-1.3+" +SLOT="0" +IUSE="pdf" + +BDEPEND=" + sys-apps/texinfo + pdf? ( + app-text/ghostscript-gpl + app-text/texlive-core + virtual/texi2dvi + ) +" + +src_prepare() { + default + + eautoreconf +} + +src_compile() { + emake info html $(usev pdf 'pdf') +} + +src_install() { + emake DESTDIR="${D}" install-info install-html $(usev pdf 'install-pdf') +} |
